[gnumeric] ods: plug leak.



commit 41abbc1539481dad6921767ca3d58336280ed9f7
Author: Morten Welinder <terra gnome org>
Date:   Tue Feb 17 12:00:25 2015 -0500

    ods: plug leak.

 plugins/openoffice/ChangeLog          |    1 +
 plugins/openoffice/openoffice-write.c |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index e5939c2..86eeeb7 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -2,6 +2,7 @@
 
        * openoffice-write.c (odf_write_regression_curve): Plug leak.
        (odf_write_axis_position): Plug leak.
+       (openoffice_file_save_real): Plug leak.
 
 2015-02-16  Andreas J. Guelzow <aguelzow pyrshep ca>
 
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index b39fdd0..f91a8ad 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -8819,7 +8819,7 @@ openoffice_file_save_real (G_GNUC_UNUSED  GOFileSaver const *fs, GOIOContext *io
                                                         (GDestroyNotify) g_free);
        state.arrow_markers = g_hash_table_new_full (g_direct_hash,
                                                     (GEqualFunc)odf_match_arrow_markers,
-                                                    NULL,
+                                                    (GDestroyNotify) g_free,
                                                     (GDestroyNotify) g_free);
        state.text_colours = g_hash_table_new_full (g_str_hash, g_str_equal,
                                                    (GDestroyNotify) g_free,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]