Commit 05152639 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4942], fix memory leak

git-svn-id: file:///svn/toku/tokudb@43937 c7de825b-a66e-492c-adef-691d508d4ae1
parent 58841607
......@@ -2221,6 +2221,7 @@ static int toku_loader_write_ft_from_q (FTLOADER bl,
result = errno;
dbout_destroy(&out);
drain_writer_q(q);
toku_free(ft.h);
return result;
}
......@@ -2236,6 +2237,7 @@ static int toku_loader_write_ft_from_q (FTLOADER bl,
subtrees_info_destroy(&sts);
dbout_destroy(&out);
drain_writer_q(q);
toku_free(ft.h);
return result;
}
......@@ -2438,6 +2440,7 @@ static int toku_loader_write_ft_from_q (FTLOADER bl,
subtrees_info_destroy(&sts);
dbout_destroy(&out);
drain_writer_q(q);
toku_free(ft.h);
return result;
}
......
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