ref: 946e1353eaa34872d0b138a13820fc03a782c545
parent: 36ee3160a025f04dc8118d891fac32bb5dae328d
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Mon Jan 31 09:19:07 EST 2022
[cache] Partially revert 9870b6c07e2c. Fix crashes reported by Werner. * src/cache/ftcmru.c (FTC_MruList_New): Use `FT_ALLOC` again.
--- 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 );