[gnumeric] Test: fix complaint about go_format_unref.
- From: Morten Welinder <mortenw src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnumeric] Test: fix complaint about go_format_unref.
- Date: Sat, 30 May 2009 16:42:29 -0400 (EDT)
commit ef5e72445f13eefe35e0d33e37230469415c660a
Author: Morten Welinder <terra gnome org>
Date: Sat May 30 16:42:02 2009 -0400
Test: fix complaint about go_format_unref.
---
ChangeLog | 5 +++++
src/xml-sax-read.c | 3 +--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5e3b0ca..9025e44 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-30 Morten Welinder <terra gnome org>
+
+ * src/xml-sax-read.c (xml_sax_cell_content): Don't check
+ go_format_unref.
+
2009-05-29 Morten Welinder <terra gnome org>
* src/main-application.c (main): Honour geometry even when we are
diff --git a/src/xml-sax-read.c b/src/xml-sax-read.c
index e554769..e76a660 100644
--- a/src/xml-sax-read.c
+++ b/src/xml-sax-read.c
@@ -1954,8 +1954,7 @@ xml_sax_cell_content (GsfXMLIn *xin, G_GNUC_UNUSED GsfXMLBlob *blob)
*/
gnm_cell_set_value (cell, value_new_empty ());
- if (value_fmt != NULL)
- go_format_unref (value_fmt);
+ go_format_unref (value_fmt);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]