[gnumeric] xlsx: plug leak.



commit 6fda64c211e4d134c39f451a465388395a4c4834
Author: Morten Welinder <terra gnome org>
Date:   Mon Feb 16 17:43:41 2015 -0500

    xlsx: plug leak.

 plugins/excel/ChangeLog            |    4 ++++
 plugins/excel/xlsx-write-drawing.c |    1 +
 2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/plugins/excel/ChangeLog b/plugins/excel/ChangeLog
index c20a1c4..5e78881 100644
--- a/plugins/excel/ChangeLog
+++ b/plugins/excel/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-16  Morten Welinder  <terra gnome org>
+
+       * xlsx-write-drawing.c (xlsx_write_one_plot): Plug leak.
+
 2015-02-14  Morten Welinder  <terra gnome org>
 
        * xlsx-write-drawing.c (xlsx_write_go_style_full): When needed
diff --git a/plugins/excel/xlsx-write-drawing.c b/plugins/excel/xlsx-write-drawing.c
index a25ce55..7f40c6f 100644
--- a/plugins/excel/xlsx-write-drawing.c
+++ b/plugins/excel/xlsx-write-drawing.c
@@ -1021,6 +1021,7 @@ xlsx_write_one_plot (XLSXWriteState *state, GsfXMLOut *xml, GogObject const *cha
                                GogAxis *axis = ptr->data;
                                xlsx_write_axis (state, xml, axis, axis_type[i]);
                        }
+                       g_slist_free (axes);
                }
        }
 }


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