mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Correctly ref repository in GIUnresolvedInfo
Followup to previous patch.
This commit is contained in:
parent
5f6b975d87
commit
7e7f7599b9
2
ginfo.c
2
ginfo.c
@ -203,7 +203,7 @@ g_info_from_entry (GIRepository *repository,
|
|||||||
|
|
||||||
unresolved->type = GI_INFO_TYPE_UNRESOLVED;
|
unresolved->type = GI_INFO_TYPE_UNRESOLVED;
|
||||||
unresolved->ref_count = 1;
|
unresolved->ref_count = 1;
|
||||||
unresolved->repository = repository;
|
unresolved->repository = g_object_ref (repository);
|
||||||
unresolved->container = NULL;
|
unresolved->container = NULL;
|
||||||
unresolved->name = name;
|
unresolved->name = name;
|
||||||
unresolved->namespace = namespace;
|
unresolved->namespace = namespace;
|
||||||
|
Loading…
Reference in New Issue
Block a user