mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-02 13:53:06 +02:00
Only unref the repository if it's actually set.
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. svn path=/trunk/; revision=1068
This commit is contained in:
parent
40e6b94790
commit
a0a60f2601
1
ginfo.c
1
ginfo.c
@ -227,6 +227,7 @@ g_base_info_unref (GIBaseInfo *info)
|
|||||||
if (info->container)
|
if (info->container)
|
||||||
g_base_info_unref (info->container);
|
g_base_info_unref (info->container);
|
||||||
|
|
||||||
|
if (info->repository)
|
||||||
g_object_unref (info->repository);
|
g_object_unref (info->repository);
|
||||||
|
|
||||||
g_free (info);
|
g_free (info);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user