mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
closes[t:2687] fix memory leak
git-svn-id: file:///svn/toku/tokudb@20865 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
a9c554b353
commit
e520e8bcf7
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue