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:
Cedric BAIL 2015-10-28 06:38:14 +01:00
parent 22b45f220c
commit 046d806388
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ eina_file_path_sanitize(const char *path)
else
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);
return r;