mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 01:36:17 +01:00
module-test: Fix leaks in test
https://bugzilla.gnome.org/show_bug.cgi?id=711768
This commit is contained in:
parent
fe8862dc1b
commit
6294d73023
@ -195,5 +195,8 @@ main (int argc,
|
|||||||
if (!g_module_close (module_b))
|
if (!g_module_close (module_b))
|
||||||
g_error ("error: %s", g_module_error ());
|
g_error ("error: %s", g_module_error ());
|
||||||
|
|
||||||
|
g_free (plugin_a);
|
||||||
|
g_free (plugin_b);
|
||||||
|
g_module_close (module_self);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user