gobject-introspection r1068 - in trunk: . girepository
- From: johan svn gnome org
- To: svn-commits-list gnome org
- Subject: gobject-introspection r1068 - in trunk: . girepository
- Date: Mon, 26 Jan 2009 17:56:48 +0000 (UTC)
Author: johan
Date: Mon Jan 26 17:56:48 2009
New Revision: 1068
URL: http://svn.gnome.org/viewvc/gobject-introspection?rev=1068&view=rev
Log:
2009-01-26 Johan Dahlin <jdahlin async com br>
* girepository/ginfo.c (g_base_info_unref):
Only unref the repository if it's actually set.
Modified:
trunk/ChangeLog
trunk/girepository/ginfo.c
Modified: trunk/girepository/ginfo.c
==============================================================================
--- trunk/girepository/ginfo.c (original)
+++ trunk/girepository/ginfo.c Mon Jan 26 17:56:48 2009
@@ -227,7 +227,8 @@
if (info->container)
g_base_info_unref (info->container);
- g_object_unref (info->repository);
+ if (info->repository)
+ g_object_unref (info->repository);
g_free (info);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]