regcomp.c: Improve free-ing up unused inversion list space
authorKarl Williamson <khw@cpan.org>
Sat, 27 Feb 2016 21:59:47 +0000 (14:59 -0700)
committerKarl Williamson <khw@cpan.org>
Sun, 28 Feb 2016 01:08:36 +0000 (18:08 -0700)
commit3001ef3e68934e089812f995b52451b8eb8f24e9
tree8058d692d5471e6ab667d3b47ceaaccae02fb4fd
parente7d603c00cb813983ddd3206655540d997d10e29
regcomp.c: Improve free-ing up unused inversion list space

The invlist_trim() function wasn't freeing up space if the new space
needed was small.  This now frees up all but the required minimum.
regcomp.c