From: Ken Hornstein Date: Sat, 10 Feb 2018 04:15:32 +0000 (-0500) Subject: Clean up memory leaks by callers of scan(). X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/946ddda2565e28600b65cb666a59182a6d95ff48?ds=inline;hp=946ddda2565e28600b65cb666a59182a6d95ff48 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. ---