[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master d9d300a: * src/psnames/psmodule.c (ps_unicodes_init):
From: |
Werner LEMBERG |
Subject: |
[freetype2] master d9d300a: * src/psnames/psmodule.c (ps_unicodes_init): Fix alloc debugging. |
Date: |
Mon, 2 Jul 2018 16:29:00 -0400 (EDT) |
branch: master
commit d9d300ab6bd8895b9247213ac87b26cc76a3fc5d
Author: Jeff Carey <address@hidden>
Commit: Werner Lemberg <address@hidden>
* src/psnames/psmodule.c (ps_unicodes_init): Fix alloc debugging.
---
ChangeLog | 4 ++++
src/psnames/psmodule.c | 4 +++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index de353fd..4941e0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-07-02 Jeff Carey <address@hidden>
+
+ * src/psnames/psmodule.c (ps_unicodes_init): Fix alloc debugging.
+
2018-07-02 Werner Lemberg <address@hidden>
s/palette_types/palette_flags/.
diff --git a/src/psnames/psmodule.c b/src/psnames/psmodule.c
index 97dcfb6..719e94d 100644
--- a/src/psnames/psmodule.c
+++ b/src/psnames/psmodule.c
@@ -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;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master d9d300a: * src/psnames/psmodule.c (ps_unicodes_init): Fix alloc debugging.,
Werner LEMBERG <=