forked from enlightenment/efl
* evas: fix a long standing bug. Don't know how no one
else saw it before. SVN revision: 55536
This commit is contained in:
parent
a9028c4d63
commit
ab1228576f
|
@ -67,7 +67,10 @@ evas_module_paths_init(void)
|
||||||
/* 3. libevas.so/../evas/modules/ */
|
/* 3. libevas.so/../evas/modules/ */
|
||||||
path2 = eina_module_symbol_path_get(evas_module_paths_init, "/evas/modules");
|
path2 = eina_module_symbol_path_get(evas_module_paths_init, "/evas/modules");
|
||||||
if (path2 && path && (strcmp(path, path2) == 0))
|
if (path2 && path && (strcmp(path, path2) == 0))
|
||||||
free(path2);
|
{
|
||||||
|
free(path2);
|
||||||
|
path2 = NULL;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
evas_module_paths = _evas_module_append(evas_module_paths, path2);
|
evas_module_paths = _evas_module_append(evas_module_paths, path2);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue