forked from AuroraMiddleware/gtk
modules: Fix memleak
Modules would leak if they were specified twice in the same command, so ie this would leak: GTK_MODULES=gail,gail
This commit is contained in:
parent
ab6007f052
commit
b96f423343
@ -363,6 +363,8 @@ load_module (GSList *module_list,
|
||||
{
|
||||
module_list = g_slist_prepend (module_list, info);
|
||||
}
|
||||
else
|
||||
info->ref_count--;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user