[gnumeric] xlsx: more leakage.



commit a20663fc435ac9eada53ee9ca4c46a0a42edbce4
Author: Morten Welinder <terra gnome org>
Date:   Fri Oct 24 18:55:22 2014 -0400

    xlsx: more leakage.

 plugins/excel/xlsx-read.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/excel/xlsx-read.c b/plugins/excel/xlsx-read.c
index 0250d0b..6af671d 100644
--- a/plugins/excel/xlsx-read.c
+++ b/plugins/excel/xlsx-read.c
@@ -5049,6 +5049,7 @@ xlsx_file_open (G_GNUC_UNUSED GOFileOpener const *fo, GOIOContext *context,
        value_release (state.val);
        if (state.texpr) gnm_expr_top_unref (state.texpr);
        if (state.comment) g_object_unref (state.comment);
+       if (state.cur_style) g_object_unref (state.cur_style);
 
        workbook_set_saveinfo (state.wb, GO_FILE_FL_AUTO,
                               go_file_saver_for_id ((state.version == ECMA_376_2006) ?


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