Fixes a SEGV caused by double free of *name string when loading a module through IPC

SVN revision: 15339
This commit is contained in:
Adam Kisiel 2005-06-15 22:02:52 +00:00
parent 75a22be319
commit 365f6b62c3
1 changed files with 1 additions and 1 deletions

View File

@ -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"),