https://bugzilla.gnome.org/show_bug.cgi?id=711779
test_dynamic_iface (void)
{
TestDynamicIfaceClass *dynamic_iface;
test_dynamic_iface (void)
{
TestDynamicIfaceClass *dynamic_iface;
- test_module_new (module_register);
+ module = test_module_new (module_register);
/* Not loaded until we call ref for the first time */
dynamic_iface = g_type_default_interface_peek (TEST_TYPE_DYNAMIC_IFACE);
/* Not loaded until we call ref for the first time */
dynamic_iface = g_type_default_interface_peek (TEST_TYPE_DYNAMIC_IFACE);
#if 0
g_assert (!dynamic_iface_init);
#endif
#if 0
g_assert (!dynamic_iface_init);
#endif
+
+ g_object_unref (module);