From ab1228576f540062a0eecf61553da842196370fe Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Mon, 13 Dec 2010 13:25:39 +0000 Subject: [PATCH] * evas: fix a long standing bug. Don't know how no one else saw it before. SVN revision: 55536 --- legacy/evas/src/lib/file/evas_module.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/legacy/evas/src/lib/file/evas_module.c b/legacy/evas/src/lib/file/evas_module.c index 241bb66ec6..6f55ff8e31 100644 --- a/legacy/evas/src/lib/file/evas_module.c +++ b/legacy/evas/src/lib/file/evas_module.c @@ -67,7 +67,10 @@ evas_module_paths_init(void) /* 3. libevas.so/../evas/modules/ */ path2 = eina_module_symbol_path_get(evas_module_paths_init, "/evas/modules"); if (path2 && path && (strcmp(path, path2) == 0)) - free(path2); + { + free(path2); + path2 = NULL; + } else evas_module_paths = _evas_module_append(evas_module_paths, path2);