aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_exec.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-13 11:03:13 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-13 11:03:13 +0000
commit52ca7afc9ab011577619dd32ae7597c2ad80e29a (patch)
tree30bcceb6ea043c971be15c7300fad15551028cf1 /src/bin/e_exec.c
parent59aa402a46701a1addda74d99c84d8ac4e7ca942 (diff)
downloadenlightenment-52ca7afc9ab011577619dd32ae7597c2ad80e29a.tar.gz
enlightenment-52ca7afc9ab011577619dd32ae7597c2ad80e29a.tar.xz
enlightenment-52ca7afc9ab011577619dd32ae7597c2ad80e29a.zip
fix leak in e_exec when DISPLAY is too long
SVN revision: 80817
Diffstat (limited to 'src/bin/e_exec.c')
-rw-r--r--src/bin/e_exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bin/e_exec.c b/src/bin/e_exec.c
index c3b53b7df..7d6eacea1 100644
--- a/src/bin/e_exec.c
+++ b/src/bin/e_exec.c
@@ -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;
}