mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
refs #5671 another leak
git-svn-id: file:///svn/toku/tokudb@50128 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
ddc8d821c1
commit
83c6154273
1 changed files with 1 additions and 1 deletions
|
@ -1152,7 +1152,7 @@ merge_leaf_nodes(FTNODE a, FTNODE b)
|
|||
LEAFENTRY CAST_FROM_VOIDP(le, lev);
|
||||
uint32_t keylen;
|
||||
void *key = le_key_and_len(le, &keylen);
|
||||
toku_fill_dbt(&a->childkeys[a->n_children-1], toku_xmemdup(key, keylen), keylen);
|
||||
toku_memdup_dbt(&a->childkeys[a->n_children-1], key, keylen);
|
||||
a->totalchildkeylens += keylen;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue