From 365f6b62c38a1c49835fb385537d05d1e2bb03fd Mon Sep 17 00:00:00 2001 From: Adam Kisiel Date: Wed, 15 Jun 2005 22:02:52 +0000 Subject: [PATCH] Fixes a SEGV caused by double free of *name string when loading a module through IPC SVN revision: 15339 --- src/bin/e_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"),