Commit 5de10d8f authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Plug leaks.

1999-09-18  Morten Welinder  <terra@diku.dk>

	* src/dialogs/dialog-printer-setup.c (do_hf_config): Plug leaks.
parent 78352743
......@@ -17,6 +17,8 @@
1999-09-18 Morten Welinder <terra@diku.dk>
* src/dialogs/dialog-printer-setup.c (do_hf_config): Plug leaks.
* src/sheet.c (zoom_cell_style): Plug leak.
* src/functions/fn-date.c (get_serial_time): Be defensive.
......
......@@ -17,6 +17,8 @@
1999-09-18 Morten Welinder <terra@diku.dk>
* src/dialogs/dialog-printer-setup.c (do_hf_config): Plug leaks.
* src/sheet.c (zoom_cell_style): Plug leak.
* src/functions/fn-date.c (get_serial_time): Be defensive.
......
......@@ -485,6 +485,10 @@ do_hf_config (const char *title, PrintHF **config)
print_hf_free (*config);
*config = print_hf_new (left_format, middle_format, right_format);
g_free (left_format);
g_free (middle_format);
g_free (right_format);
ret = print_hf_register (*config);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment