diff --git a/src/bin/e_module.c b/src/bin/e_module.c index e92706f2a..8a52e7db4 100644 --- a/src/bin/e_module.c +++ b/src/bin/e_module.c @@ -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"),