ecore: remove dead free

Since we now free exe on goto restart, exe will always be NULL.

CID 1139955
This commit is contained in:
Sebastian Dransfeld 2013-12-23 13:39:47 +01:00
parent 3082bbc3ce
commit 35240d979a
1 changed files with 0 additions and 2 deletions

View File

@ -903,7 +903,6 @@ restart:
homedir = getenv("HOME");
if (!homedir) return NULL;
len = strlen(homedir);
if (exe) free(exe);
exe = malloc(len + exe2 - exe1 + 2);
if (!exe) return NULL;
pp = exe;
@ -920,7 +919,6 @@ restart:
}
else
{
if (exe) free(exe);
exe = malloc(exe2 - exe1 + 1);
if (!exe) return NULL;
pp = exe;