[gnumeric] odf: plug another leak.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] odf: plug another leak.
- Date: Mon, 23 Aug 2010 20:14:47 +0000 (UTC)
commit 38d98e62f696f2cad81cb713081e206c795eee1a
Author: Morten Welinder <terra gnome org>
Date: Mon Aug 23 16:14:34 2010 -0400
odf: plug another leak.
plugins/openoffice/ChangeLog | 2 +-
plugins/openoffice/openoffice-read.c | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 7976889..164f00c 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,7 +1,7 @@
2010-08-23 Morten Welinder <terra gnome org>
* openoffice-read.c (od_draw_image): Unref the image zip member.
- Fixes part of #627759.
+ (openoffice_file_open): Plug leak. Fixes part of #627759.
2010-08-23 Andreas J. Guelzow <aguelzow pyrshep ca>
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index b7ad087..8437d78 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -6259,6 +6259,7 @@ openoffice_file_open (GOFileOpener const *fo, GOIOContext *io_context,
go_doc_set_meta_data (GO_DOC (state.pos.wb), meta_data);
g_object_unref (meta_data);
+ g_object_unref (meta_file);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]