diff options
-rw-r--r-- | girepository/girepository.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/girepository/girepository.c b/girepository/girepository.c index 5d561c28..1384c0e9 100644 --- a/girepository/girepository.c +++ b/girepository/girepository.c @@ -93,7 +93,9 @@ g_irepository_init (GIRepository *repository) (GDestroyNotify) NULL, (GDestroyNotify) g_typelib_free); repository->priv->lazy_typelibs - = g_hash_table_new (g_str_hash, g_str_equal); + = g_hash_table_new_full (g_str_hash, g_str_equal, + (GDestroyNotify) g_free, + (GDestroyNotify) NULL); repository->priv->info_by_gtype = g_hash_table_new_full (g_direct_hash, g_direct_equal, (GDestroyNotify) NULL, |