Correctly ref repository in GIUnresolvedInfo

Followup to previous patch.
This commit is contained in:
Colin Walters 2009-09-04 17:02:14 -04:00
parent 5f6b975d87
commit 7e7f7599b9

View File

@ -203,7 +203,7 @@ g_info_from_entry (GIRepository *repository,
unresolved->type = GI_INFO_TYPE_UNRESOLVED;
unresolved->ref_count = 1;
unresolved->repository = repository;
unresolved->repository = g_object_ref (repository);
unresolved->container = NULL;
unresolved->name = name;
unresolved->namespace = namespace;