mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02: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:
@@ -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
|
||||
|
Reference in New Issue
Block a user