do not return if we dont have prev_ld_library_path, sometimes we still need to do the next thing

SVN revision: 44658
This commit is contained in:
Samuel F. Baggen 2009-12-22 16:09:17 +00:00
parent 9ca34faf2d
commit 6b03d701d5
1 changed files with 6 additions and 2 deletions

View File

@ -926,12 +926,16 @@ e_util_library_path_strip(void)
EAPI void
e_util_library_path_restore(void)
{
if (!prev_ld_library_path) return;
if (prev_ld_library_path)
{
e_util_env_set("LD_LIBRARY_PATH", prev_ld_library_path);
E_FREE(prev_ld_library_path);
if (!prev_path) return;
}
if (prev_path)
{
e_util_env_set("PATH", prev_path);
E_FREE(prev_path);
}
}
EAPI Evas_Object *