diff --git a/ConflictSet.cpp b/ConflictSet.cpp index a82d0d1..5572dd3 100644 --- a/ConflictSet.cpp +++ b/ConflictSet.cpp @@ -2025,6 +2025,8 @@ Node *erase(Node *self, WriteContext *writeContext, bool logical) { parent48->childMaxVersion[lastChildrenIndex] = writeContext->zero; VALGRIND_MAKE_MEM_UNDEFINED(parent48->children + lastChildrenIndex, sizeof(parent48->children[0])); + VALGRIND_MAKE_MEM_UNDEFINED(parent48->reverseIndex + lastChildrenIndex, + sizeof(parent48->reverseIndex[0])); if (needsDownsize(parent48)) { downsize(parent48, writeContext);