mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
girepository: Fix memory leak
In g_irepository_get_object_gtype_interfaces()
This commit is contained in:
parent
590421cf14
commit
fcc94454c1
@ -1036,6 +1036,8 @@ g_irepository_get_object_gtype_interfaces (GIRepository *repository,
|
||||
|
||||
g_hash_table_insert (repository->priv->interfaces_for_gtype, (gpointer) gtype,
|
||||
cache);
|
||||
|
||||
g_free (interfaces);
|
||||
}
|
||||
|
||||
*n_interfaces_out = cache->n_interfaces;
|
||||
|
Loading…
Reference in New Issue
Block a user