From e1996b3c85bde97d7dbf67e3e78545d5cd8c0839 Mon Sep 17 00:00:00 2001 From: cedric 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. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@55536 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/file/evas_module.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib/file/evas_module.c b/src/lib/file/evas_module.c index 241bb66..6f55ff8 100644 --- a/src/lib/file/evas_module.c +++ b/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); -- 2.7.4