[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:
Alexei Podtelezhnikov 2022-01-31 14:19:07 +00:00
parent 36ee3160a0
commit 946e1353ea
1 changed files with 1 additions and 1 deletions

2
src/cache/ftcmru.c vendored
View File

@ -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 );