Commit 96d09612 authored by Morten Welinder's avatar Morten Welinder Committed by Morten Welinder

Don't leak ->supbooks.

2002-10-09  Morten Welinder  <terra@diku.dk>

	* ms-excel-read.c (ms_excel_workbook_destroy): Don't leak
	->supbooks.
parent 8d97b607
...@@ -39,6 +39,7 @@ Morten: ...@@ -39,6 +39,7 @@ Morten:
order to get more than 256 columns and/or 65536 rows. order to get more than 256 columns and/or 65536 rows.
* Fix --geometry, I hope. * Fix --geometry, I hope.
* Start handling invalid (== non-utf8) file names. * Start handling invalid (== non-utf8) file names.
* Fix minor leak in excel loader.
dorami@bu.iij4u.or.jp: dorami@bu.iij4u.or.jp:
* Add InputMethod support for better international key support * Add InputMethod support for better international key support
......
2002-10-09 Morten Welinder <terra@diku.dk>
* ms-excel-read.c (ms_excel_workbook_destroy): Don't leak
->supbooks.
2002-10-08 Jody Goldberg <jody@gnome.org> 2002-10-08 Jody Goldberg <jody@gnome.org>
* ms-excel-write.c (write_names) : Fix leak by not inserting copies of * ms-excel-write.c (write_names) : Fix leak by not inserting copies of
......
...@@ -2494,6 +2494,9 @@ ms_excel_workbook_destroy (ExcelWorkbook *ewb) ...@@ -2494,6 +2494,9 @@ ms_excel_workbook_destroy (ExcelWorkbook *ewb)
g_ptr_array_free (ewb->extern_sheet_v7, TRUE); g_ptr_array_free (ewb->extern_sheet_v7, TRUE);
ewb->extern_sheet_v7 = NULL; ewb->extern_sheet_v7 = NULL;
g_ptr_array_free (ewb->supbooks, TRUE);
ewb->supbooks = NULL;
if (ewb->global_strings) { if (ewb->global_strings) {
unsigned i; unsigned i;
for (i = 0; i < ewb->global_string_max; i++) for (i = 0; i < ewb->global_string_max; i++)
......
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