Commit f91ae71a authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Get rid of a memory leak. Addresses #1195.

git-svn-id: file:///svn/toku/tokudb.1195@7685 c7de825b-a66e-492c-adef-691d508d4ae1
parent 588457db
......@@ -1940,6 +1940,8 @@ maybe_merge_pinned_leaf_nodes (BRT t, BRTNODE a, BRTNODE b, struct kv_pair *pare
} else {
// we are merging them.
*did_merge = TRUE;
*splitk = 0;
toku_free(parent_splitk); // if we are merging, the splitk gets freed.
return merge_leaf_nodes(a, b);
}
}
......
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