forked from enlightenment/efl
Revert "Eina: Fix 58b194e0ad56fe83cce3946a5deb0045ee0cbce2"
This reverts commit 22b45f220c
.
eina_file_cleanup always does an eina_tmpstr_del. This is now capable of doing
double or even triple free in some case.
This commit is contained in:
parent
22b45f220c
commit
046d806388
|
@ -359,7 +359,7 @@ eina_file_path_sanitize(const char *path)
|
||||||
else
|
else
|
||||||
result = path;
|
result = path;
|
||||||
|
|
||||||
r = _eina_file_escape(eina_file_cleanup(result), len);
|
r = _eina_file_escape(strdup(result ? result : ""), len);
|
||||||
if (result != path) eina_tmpstr_del(result);
|
if (result != path) eina_tmpstr_del(result);
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
|
|
Loading…
Reference in New Issue