Fix bug #12196 with incorrect memory allocations for region-cache.
commita60ed6f929d537ccb399fac9e5389755028ee01c
authorEli Zaretskii <eliz@gnu.org>
Wed, 15 Aug 2012 16:21:41 +0000 (15 19:21 +0300)
committerEli Zaretskii <eliz@gnu.org>
Wed, 15 Aug 2012 16:21:41 +0000 (15 19:21 +0300)
treec85cf805692a71b2af3ffb930aa9600b9de6c263
parent4406fdbcaca19b6c9a5c453f242945299a6a5420
Fix bug #12196 with incorrect memory allocations for region-cache.

 src/region-cache.c (move_cache_gap): Update gap_len using the actual
 growth of the boundaries array.  Do not change cache_len.
src/ChangeLog
src/region-cache.c