Hi Werner et al,
I ran across an issue with mem debug enabled. Here's a patch with the simple
fix.
Cheers,
-jeff
---
src/psnames/psmodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/psnames/psmodule.c b/src/psnames/psmodule.c
index 97dcfb6..855c8ce 100644
--- a/src/psnames/psmodule.c
+++ b/src/psnames/psmodule.c
@@ -392,7 +392,7 @@
/* 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;
}
--
2.7.4
Jeff Carey
Principal Software Engineer
Monotype
600 Unicorn Park Drive 3rd Floor
Woburn, Massachusetts
01801
Phone +1 (781) 970 6073
Our Brand Family
Monotype.com
Olapic.com
_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel