]> diplodocus.org Git - nmh/commit
Clean up memory leaks by callers of scan().
authorKen Hornstein <kenh@pobox.com>
Sat, 10 Feb 2018 04:15:32 +0000 (23:15 -0500)
committerKen Hornstein <kenh@pobox.com>
Sat, 10 Feb 2018 04:15:32 +0000 (23:15 -0500)
commit946ddda2565e28600b65cb666a59182a6d95ff48
treeaaf7b4bb664216d6bc9806256192a84a4eaebd82
parent0e7600c5c58b4f34a9fc066a3712b09a690ffc62
Clean up memory leaks by callers of scan().

Make sure we reuse the "scanl" argument to the scan() function, as that's
the signal to have scan() reuse it's buffers.  Otherwise repeated calls
to scan will leak a TON of memory.  Reported by Ralph Corderoy.
uip/inc.c
uip/scan.c