module-test: Fix leaks in test

https://bugzilla.gnome.org/show_bug.cgi?id=711768
This commit is contained in:
Stef Walter 2013-11-10 10:54:47 +01:00
parent fe8862dc1b
commit 6294d73023

View File

@ -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;
}