[t:4062], fix small bug

git-svn-id: file:///svn/toku/tokudb@36674 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Zardosht Kasheff 2013-04-16 23:59:54 -04:00 committed by Yoni Fogel
parent 0dd7183824
commit 7295d90993

View file

@ -1630,6 +1630,7 @@ toku_deserialize_bp_from_disk(BRTNODE node, int childnum, int fd, struct brtnode
if (node->height == 0) {
toku_brt_bn_reset_stats(node, childnum);
}
BP_INIT_TOUCHED_CLOCK(node,childnum);
toku_free(curr_sb.uncompressed_ptr);
toku_free(raw_block);
}
@ -1657,6 +1658,7 @@ toku_deserialize_bp_from_compressed(BRTNODE node, int childnum,
if (node->height == 0) {
toku_brt_bn_reset_stats(node, childnum);
}
BP_INIT_TOUCHED_CLOCK(node,childnum);
toku_free(curr_sb->uncompressed_ptr);
toku_free(curr_sb->compressed_ptr);
toku_free(curr_sb);