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
(parent:
fe8862d
)
module-test: Fix leaks in test
author
Stef Walter
<stefw@gnome.org>
Sun, 10 Nov 2013 09:54:47 +0000
(10:54 +0100)
committer
Stef Walter
<stefw@gnome.org>
Sun, 10 Nov 2013 21:53:42 +0000
(22:53 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=711768
tests/module-test.c
patch
|
blob
|
history
diff --git
a/tests/module-test.c
b/tests/module-test.c
index f54a0153a368125b4d62c9a6088df9b9bf253e8d..956b0a920034b743697f56dab1ce3a676248d5ca 100644
(file)
--- a/
tests/module-test.c
+++ b/
tests/module-test.c
@@
-194,6
+194,9
@@
main (int argc,
if (!g_module_close (module_b))
g_error ("error: %s", g_module_error ());
-
+
+ g_free (plugin_a);
+ g_free (plugin_b);
+ g_module_close (module_self);
return 0;
}