summaryrefslogtreecommitdiff
path: root/examples/glib-print.c
diff options
context:
space:
mode:
authorJohan Dahlin <jdahlin@litl.com>2009-02-17 18:24:45 -0300
committerJohan Dahlin <johan@gnome.org>2009-02-17 18:24:45 -0300
commit926c0ebda82f10f5b6db98f9968764427c0f7aba (patch)
tree237890fc219db3f520f6f6b80526f306571e74e1 /examples/glib-print.c
parent2a8d36c3570f6c1d469a323e344b8ea480a71d3d (diff)
downloadgobject-introspection-926c0ebda82f10f5b6db98f9968764427c0f7aba.tar.gz
Unref the GIBaseInfo after usage
Diffstat (limited to 'examples/glib-print.c')
-rw-r--r--examples/glib-print.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/glib-print.c b/examples/glib-print.c
index f2f0d6bc..7f99ed15 100644
--- a/examples/glib-print.c
+++ b/examples/glib-print.c
@@ -40,5 +40,7 @@ int main(void)
return 1;
}
+ g_base_info_unref (base_info);
+
return 0;
}