mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
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:
parent
f038c629a4
commit
aa7ec15091
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user