Browse Source

plug a memory leak when executing `shell'

rlar 14 years ago
parent
commit
ae6a16e3e4
  1. 1
      src/frontend/com_shell.c

1
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

Loading…
Cancel
Save