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