ash: fix a memory leak
authorJon Tollefson <kniht@linux.vnet.ibm.com>
Tue, 13 Nov 2012 18:26:53 +0000 (19:26 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 13 Nov 2012 18:26:53 +0000 (19:26 +0100)
commit4ba6c5d3ba3d2c7922aff6b5c2e73b8325f1cf17
tree2d4fca6585c985d96463c2eb2f4ac548d046f006
parente4b9451413013388757cf48fbb16d8137ddd1ccb
ash: fix a memory leak

The script which triggers the leak:

while true
  do
    while true
      do
        break;
    done</dev/null
done

Signed-off-by: Jon Tollefson <kniht@linux.vnet.ibm.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c