[gnumeric] odf: plug leak.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] odf: plug leak.
- Date: Sun, 30 Mar 2014 20:02:45 +0000 (UTC)
commit 3dfe5abdfc08750c5d10d199db68d9fa4f2e361c
Author: Morten Welinder <terra gnome org>
Date: Sun Mar 30 16:02:29 2014 -0400
odf: plug leak.
plugins/openoffice/ChangeLog | 1 +
plugins/openoffice/openoffice-read.c | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index b9b7958..a93b913 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -2,6 +2,7 @@
* openoffice-read.c (odf_number_color): Use new go_format_palette_
functions. This also handles approximate matches.
+ (openoffice_file_open): Plug leak.
2014-03-29 Morten Welinder <terra gnome org>
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 1a7813c..4e376d0 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -12875,6 +12875,7 @@ openoffice_file_open (G_GNUC_UNUSED GOFileOpener const *fo, GOIOContext *io_cont
g_hash_table_destroy (state.validations);
g_hash_table_destroy (state.strings);
g_hash_table_destroy (state.chart.arrow_markers);
+ g_slist_free_full (state.sheet_order, (GDestroyNotify)g_free);
if (state.openformula_namemap)
g_hash_table_destroy (state.openformula_namemap);
if (state.openformula_handlermap)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]