summaryrefslogtreecommitdiff
path: root/gobject-introspection
diff options
context:
space:
mode:
authorDavid Binderman <dcb314@hotmail.com>2009-09-30 20:01:35 +0200
committerJürg Billeter <j@bitron.ch>2009-09-30 20:04:19 +0200
commit5233440a3386f999e0d2e3898e0f21bbe6db7544 (patch)
treeae2fac430dc5ca7ffb77bec8b001475a46833504 /gobject-introspection
parentfe541bc5cd9d84a567705b72777c2b2117c85aef (diff)
downloadvala-5233440a3386f999e0d2e3898e0f21bbe6db7544.tar.gz
gobject-introspection: Fix memory leak in GIdlWriter
Fixes bug 596806.
Diffstat (limited to 'gobject-introspection')
-rw-r--r--gobject-introspection/gidlwriter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gobject-introspection/gidlwriter.c b/gobject-introspection/gidlwriter.c
index 5caac5e5e..cd6cbad2a 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);
}