Commit e875b44f authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:3705], fix leak

git-svn-id: file:///svn/toku/tokudb@32746 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7427e0da
......@@ -795,7 +795,9 @@ void toku_destroy_brtnode_internals(BRTNODE node)
destroy_basement_node(BLB(node, i));
}
} else if (BP_STATE(node,i) == PT_COMPRESSED) {
toku_free(BSB(node,i));
SUB_BLOCK sb = BSB(node,i);
toku_free(sb->compressed_ptr);
toku_free(sb);
} else {
assert(is_BNULL(node, i));
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment