gplugin/gplugin

Add back the missing unref
feature/loader-registration-cleanup
2020-02-24, Gary Kramlich
49b26135dff7
Parents 7d8168ca6f7b
Children f401cd3acc34
Add back the missing unref
--- a/gplugin/gplugin-manager.c Sun Feb 23 19:41:52 2020 -0600
+++ b/gplugin/gplugin-manager.c Mon Feb 24 04:09:46 2020 -0600
@@ -359,6 +359,9 @@
g_hash_table_remove(manager->loaders_by_extension, ext);
}
+ /* kill our ref to the loader */
+ g_object_unref(G_OBJECT(lo));
+
/* now move to the next extension to check */
break;
}