[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master 946e1353e: [cache] Partially revert 9870b6c07e2c.
From: |
Werner Lemberg |
Subject: |
[freetype2] master 946e1353e: [cache] Partially revert 9870b6c07e2c. |
Date: |
Mon, 31 Jan 2022 09:19:19 -0500 (EST) |
branch: master
commit 946e1353eaa34872d0b138a13820fc03a782c545
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>
[cache] Partially revert 9870b6c07e2c.
Fix crashes reported by Werner.
* src/cache/ftcmru.c (FTC_MruList_New): Use `FT_ALLOC` again.
---
src/cache/ftcmru.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cache/ftcmru.c b/src/cache/ftcmru.c
index bfee24bc1..b422679db 100644
--- a/src/cache/ftcmru.c
+++ b/src/cache/ftcmru.c
@@ -262,7 +262,7 @@
if ( list->clazz.node_done )
list->clazz.node_done( node, list->data );
}
- else if ( FT_QALLOC( node, list->clazz.node_size ) )
+ else if ( FT_ALLOC( node, list->clazz.node_size ) )
goto Exit;
error = list->clazz.node_init( node, key, list->data );
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master 946e1353e: [cache] Partially revert 9870b6c07e2c.,
Werner Lemberg <=