Revert "defaultiface: Fix leak in test"

This reverts commit fd7b2faa64.

This required another patch to be commited first. Will put this
back in bugzilla.
This commit is contained in:
Stef Walter 2013-11-11 15:27:24 +01:00
parent f038c629a4
commit aa7ec15091

View File

@ -141,9 +141,8 @@ static void
test_dynamic_iface (void)
{
TestDynamicIfaceClass *dynamic_iface;
GTypeModule *module;
module = test_module_new (module_register);
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);
@ -180,8 +179,6 @@ test_dynamic_iface (void)
#if 0
g_assert (!dynamic_iface_init);
#endif
g_object_unref (module);
}
int