[RTL/AVL]

- Zero out contents of a newly allocated AVL table node.

svn path=/trunk/; revision=50855
This commit is contained in:
Aleksey Bragin 2011-02-21 13:33:13 +00:00
parent 45efecf8e0
commit 70fcc31092

View file

@ -75,6 +75,7 @@ RtlInsertElementGenericTableFullAvl(IN PRTL_AVL_TABLE Table,
UserData = &((PTABLE_ENTRY_HEADER)NewNode)->UserData;
/* Insert the node in the tree */
RtlZeroMemory(NewNode, sizeof(RTL_BALANCED_LINKS));
RtlpInsertAvlTreeNode(Table, NewNode, NodeOrParent, SearchResult);
/* Copy user buffer */