mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 12:01:42 +01:00
fix leak with primary_rowset [t:2591]
git-svn-id: file:///svn/toku/tokudb@20334 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
b611db04c2
commit
366941f3cd
1 changed files with 2 additions and 0 deletions
|
@ -304,6 +304,8 @@ static void brtloader_destroy (BRTLOADER bl, BOOL is_error) {
|
|||
destroy_merge_fileset(&bl->fs[i]);
|
||||
toku_free(bl->fs);
|
||||
|
||||
destroy_rowset(&bl->primary_rowset);
|
||||
|
||||
for (int i=0; i<bl->N; i++) {
|
||||
invariant(bl->fractal_queues[i]==NULL); // !!! If this isn't true, we may have to kill the pthreads and destroy the fractal trees. For now just barf.
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue