fix leak in e_exec when DISPLAY is too long

SVN revision: 80817
This commit is contained in:
Mike Blumenkrantz 2012-12-13 11:03:13 +00:00
parent 59aa402a46
commit 52ca7afc9a
1 changed files with 1 additions and 0 deletions

View File

@ -347,6 +347,7 @@ _e_exec_cb_exec(void *data, Efreet_Desktop *desktop, char *exec, int remaining)
if (penv_display_length + 32 > 4096)
{
free(inst);
free(penv_display);
return NULL;
}