* src/psnames/psmodule.c (ps_unicodes_init): Fix alloc debugging.

This commit is contained in:
Jeff Carey 2018-07-02 22:27:57 +02:00 committed by Werner Lemberg
parent 396051daee
commit d9d300ab6b
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2018-07-02 Jeff Carey <Jeff.Carey@monotype.com>
* src/psnames/psmodule.c (ps_unicodes_init): Fix alloc debugging.
2018-07-02 Werner Lemberg <wl@gnu.org>
s/palette_types/palette_flags/.

View File

@ -392,7 +392,9 @@
/* Reallocate if the number of used entries is much smaller. */
if ( count < num_glyphs / 2 )
{
(void)FT_RENEW_ARRAY( table->maps, num_glyphs, count );
(void)FT_RENEW_ARRAY( table->maps,
num_glyphs + EXTRA_GLYPH_LIST_SIZE,
count );
error = FT_Err_Ok;
}