* evas: fix a long standing bug. Don't know how no one

else saw it before.


SVN revision: 55536
This commit is contained in:
Cedric BAIL 2010-12-13 13:25:39 +00:00
parent a9028c4d63
commit ab1228576f
1 changed files with 4 additions and 1 deletions

View File

@ -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);