aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/e_exec.c
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-04 14:50:16 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-12-04 14:50:16 +0000
commit17ef5ee535a25860f2b93e381e5d0eba05424fd5 (patch)
treedda5737a461eeff13502cb59f54edbb9f834dd10 /src/bin/e_exec.c
parent5980697b20d886e7c1921980ec1aab4579719f35 (diff)
downloadenlightenment-17ef5ee535a25860f2b93e381e5d0eba05424fd5.tar.gz
enlightenment-17ef5ee535a25860f2b93e381e5d0eba05424fd5.tar.xz
enlightenment-17ef5ee535a25860f2b93e381e5d0eba05424fd5.zip
fix e_exec crash
SVN revision: 80171
Diffstat (limited to 'src/bin/e_exec.c')
-rw-r--r--src/bin/e_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/e_exec.c b/src/bin/e_exec.c
index d479cb5c2..691ec6802 100644
--- a/src/bin/e_exec.c
+++ b/src/bin/e_exec.c
@@ -479,7 +479,6 @@ _e_exec_cb_exec(void *data, Efreet_Desktop *desktop, char *exec, int remaining)
/* reset env vars */
if ((launch->launch_method) && (!desktop))
e_exehist_add(launch->launch_method, exec);
- free(exec);
/* 20 lines at start and end, 20x100 limit on bytes at each end. */
//// FIXME: seem to be some issues with the pipe and filling up ram - need to
//// check. for now disable.
@@ -516,6 +515,7 @@ _e_exec_cb_exec(void *data, Efreet_Desktop *desktop, char *exec, int remaining)
if (launch->zone) e_object_unref(E_OBJECT(launch->zone));
free(launch);
}
+ free(exec);
return inst;
}