forked from enlightenment/enlightenment
Fixes a SEGV caused by double free of *name string when loading a module through IPC
SVN revision: 15339
This commit is contained in:
parent
75a22be319
commit
365f6b62c3
|
@ -94,7 +94,7 @@ e_module_new(char *name)
|
|||
modpath = e_path_find(path_modules, buf);
|
||||
}
|
||||
else
|
||||
modpath = name;
|
||||
modpath = strdup(name);
|
||||
if (!modpath)
|
||||
{
|
||||
e_error_dialog_show(_("Error loading Module"),
|
||||
|
|
Loading…
Reference in New Issue