From ae6a16e3e44ef0c76d34290b81b59f50c5b0590b Mon Sep 17 00:00:00 2001 From: rlar Date: Tue, 14 Aug 2012 21:00:21 +0200 Subject: [PATCH] plug a memory leak when executing `shell' --- src/frontend/com_shell.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/frontend/com_shell.c b/src/frontend/com_shell.c index 68959e381..4198f82cc 100644 --- a/src/frontend/com_shell.c +++ b/src/frontend/com_shell.c @@ -54,6 +54,7 @@ com_shell(wordlist *wl) if (wl) { com = wl_flatten(wl); system(com); + tfree(com); } else system(shell); #endif