[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 998c7c0 2/3: * src/cid/cidload.c (cid_read_subrs): Tw
From: |
Werner Lemberg |
Subject: |
[freetype2] master 998c7c0 2/3: * src/cid/cidload.c (cid_read_subrs): Tweak allocation macro. |
Date: |
Thu, 6 May 2021 22:54:44 -0400 (EDT) |
branch: master
commit 998c7c0f1ccabcc4cd995bd6ee8fa398b73b25cd
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>
* src/cid/cidload.c (cid_read_subrs): Tweak allocation macro.
---
ChangeLog | 4 ++++
src/cid/cidload.c | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index 6d3fc2f..17033d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2021-05-06 Alexei Podtelezhnikov <apodtele@gmail.com>
+ * src/cid/cidload.c (cid_read_subrs): Tweak allocation macro.
+
+2021-05-06 Alexei Podtelezhnikov <apodtele@gmail.com>
+
* src/base/ftrfork.c (FT_Raccess_Get_DataOffsets): Tweak allocation.
2021-05-05 Alexei Podtelezhnikov <apodtele@gmail.com>
diff --git a/src/cid/cidload.c b/src/cid/cidload.c
index e5a4964..25dcfe6 100644
--- a/src/cid/cidload.c
+++ b/src/cid/cidload.c
@@ -552,7 +552,7 @@
goto Fail;
}
- if ( FT_RENEW_ARRAY( offsets, max_offsets, new_max ) )
+ if ( FT_QRENEW_ARRAY( offsets, max_offsets, new_max ) )
goto Fail;
max_offsets = new_max;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 998c7c0 2/3: * src/cid/cidload.c (cid_read_subrs): Tweak allocation macro.,
Werner Lemberg <=