Commit e520e8bc authored by Yoni Fogel's avatar Yoni Fogel

closes[t:2687] fix memory leak

git-svn-id: file:///svn/toku/tokudb@20865 c7de825b-a66e-492c-adef-691d508d4ae1
parent a9c554b3
......@@ -156,6 +156,8 @@ static void run_recover (void) {
assert(v.size == 2);
assert(memcmp(k.data, "a", 2) == 0);
assert(memcmp(v.data, "b", 2) == 0);
toku_free(k.data);
toku_free(v.data);
r = cursor->c_close(cursor); CKERR(r);
......
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