Fixed a memory leak in lash. It seems that close_all was calling close()
authorEric Andersen <andersen@codepoet.org>
Tue, 6 Mar 2001 20:44:39 +0000 (20:44 -0000)
committerEric Andersen <andersen@codepoet.org>
Tue, 6 Mar 2001 20:44:39 +0000 (20:44 -0000)
commit54851d3c6523b544c127fa0420e4b58fb1f046f4
tree360c6764e2931f9f14f31b4a6fd90585d9d256b4
parent07f2f3917a08eea89953c8f0c3f1bc6ef52879b4
Fixed a memory leak in lash.  It seems that close_all was calling close()
directly instead of calling mark_closed(), which allowed the memory allocated
by mark_open() to never be freed.
 -Erik
lash.c
sh.c
shell/lash.c