forked from minhngoc25a/freetype2
[cache] Partially revert 9870b6c07e
.
Fix crashes reported by Werner. * src/cache/ftcmru.c (FTC_MruList_New): Use `FT_ALLOC` again.
This commit is contained in:
parent
36ee3160a0
commit
946e1353ea
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue