[vala] gobject-introspection: Fix memory leak in GIdlWriter
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] gobject-introspection: Fix memory leak in GIdlWriter
- Date: Wed, 30 Sep 2009 18:04:35 +0000 (UTC)
commit 5233440a3386f999e0d2e3898e0f21bbe6db7544
Author: David Binderman <dcb314 hotmail com>
Date: Wed Sep 30 20:01:35 2009 +0200
gobject-introspection: Fix memory leak in GIdlWriter
Fixes bug 596806.
gobject-introspection/gidlwriter.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gobject-introspection/gidlwriter.c b/gobject-introspection/gidlwriter.c
index 5caac5e..cd6cbad 100644
--- a/gobject-introspection/gidlwriter.c
+++ b/gobject-introspection/gidlwriter.c
@@ -498,4 +498,6 @@ g_idl_writer_save_file (GIdlModule *module,
if (filename)
fclose (writer->output);
+
+ g_free (writer);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]