plug a memleak when freeing io redirection in commands.
authorjaredy <jaredy@openbsd.org>
Mon, 11 Aug 2008 21:50:35 +0000 (21:50 +0000)
committerjaredy <jaredy@openbsd.org>
Mon, 11 Aug 2008 21:50:35 +0000 (21:50 +0000)
commit7b1fe930bf82c034f3479334dae86b58524c268a
treeaf3827f0db1fa6bdcf60100d38a1d7ac67429210
parent7e3bdeff81772fe98bb2b35fbba177aaab7ccbe4
plug a memleak when freeing io redirection in commands.
the leaked memory is actually reclaimed when the command
finishes but may grow until that happens, e.g. during
command execution.

ok phessler@.
testing sobrado@ jmc@ oga@.
bin/ksh/tree.c