* src/cache/ftcmru.c (FTC_MruList_New): Explain zeroing.

This commit is contained in:
Alexei Podtelezhnikov 2022-02-02 11:32:58 -05:00
parent 946e1353ea
commit c6dd509b99
1 changed files with 2 additions and 0 deletions

2
src/cache/ftcmru.c vendored
View File

@ -262,6 +262,8 @@
if ( list->clazz.node_done )
list->clazz.node_done( node, list->data );
}
/* zero new node in case of node_init failure */
else if ( FT_ALLOC( node, list->clazz.node_size ) )
goto Exit;