Commit deefe708 authored by John Esmet's avatar John Esmet

fix leak in ft-test-helpers.cc

parent 86c751f8
......@@ -133,6 +133,7 @@ int toku_testsetup_leaf(FT_HANDLE ft_handle, BLOCKNUM *blocknum, int n_children,
toku_memdup_dbt(&pivotkeys[i], keys[i], keylens[i]);
}
node->pivotkeys.create_from_dbts(pivotkeys, n_children - 1);
toku_free(pivotkeys);
*blocknum = node->blocknum;
toku_unpin_ftnode(ft_handle->ft, node);
......
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