mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
Addresses #1510 Fix memory leak in end checkpoint
git-svn-id: file:///svn/toku/tokudb@10921 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
cc888f1ea3
commit
de8165e246
1 changed files with 1 additions and 1 deletions
|
@ -3346,7 +3346,7 @@ toku_brtheader_end_checkpoint (CACHEFILE cachefile, void *header_v) {
|
|||
h->checkpoint_count++; // checkpoint succeeded, next checkpoint will save to alternate header location
|
||||
}
|
||||
toku_block_translation_note_end_checkpoint(h->blocktable);
|
||||
brtheader_destroy(h->checkpoint_header);
|
||||
brtheader_free(h->checkpoint_header);
|
||||
h->checkpoint_header = NULL;
|
||||
}
|
||||
return r;
|
||||
|
|
Loading…
Add table
Reference in a new issue