plug a memory leak when executing `shell'
This commit is contained in:
parent
fa81e9d007
commit
ae6a16e3e4
|
|
@ -54,6 +54,7 @@ com_shell(wordlist *wl)
|
|||
if (wl) {
|
||||
com = wl_flatten(wl);
|
||||
system(com);
|
||||
tfree(com);
|
||||
} else
|
||||
system(shell);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue