ref: c6dd509b99447e8d83bd317a76f7d9377ddc126a
parent: 946e1353eaa34872d0b138a13820fc03a782c545
author: Alexei Podtelezhnikov <apodtele@gmail.com>
date: Wed Feb 2 06:32:58 EST 2022
* src/cache/ftcmru.c (FTC_MruList_New): Explain zeroing.
--- a/src/cache/ftcmru.c
+++ b/src/cache/ftcmru.c
@@ -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;