[gnumeric] xlsx: fix FMR.



commit 834b3b26442f781784d7c191a52cbd3a772abafd
Author: Morten Welinder <terra gnome org>
Date:   Sun Mar 1 17:54:52 2015 -0500

    xlsx: fix FMR.

 plugins/excel/xlsx-read-drawing.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/excel/xlsx-read-drawing.c b/plugins/excel/xlsx-read-drawing.c
index 2d43e35..fa61240 100644
--- a/plugins/excel/xlsx-read-drawing.c
+++ b/plugins/excel/xlsx-read-drawing.c
@@ -3054,9 +3054,9 @@ xlsx_blip_start (GsfXMLIn *xin, xmlChar const **attrs)
                        g_return_if_fail (input != NULL);
                        size = gsf_input_size (input);
                        data = (gpointer)gsf_input_read (input, size, NULL);
-                       g_object_unref (input);
                        sheet_object_image_set_image (SHEET_OBJECT_IMAGE (state->so),
                                                      NULL, data, size, TRUE);
+                       g_object_unref (input);
        }
 
 }


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