]> diplodocus.org Git - nmh/commitdiff
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)
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.


No differences found