projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f038c62
)
Revert "defaultiface: Fix leak in test"
author
Stef Walter
<stefw@gnome.org>
Mon, 11 Nov 2013 14:27:24 +0000
(15:27 +0100)
committer
Stef Walter
<stefw@gnome.org>
Mon, 11 Nov 2013 16:06:38 +0000
(17:06 +0100)
This reverts commit
fd7b2faa64febab407ffde2506c995544583a9d5
.
This required another patch to be commited first. Will put this
back in bugzilla.
tests/gobject/defaultiface.c
patch
|
blob
|
history
diff --git
a/tests/gobject/defaultiface.c
b/tests/gobject/defaultiface.c
index
12944b0
..
c44c18a
100644
(file)
--- a/
tests/gobject/defaultiface.c
+++ b/
tests/gobject/defaultiface.c
@@
-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