1
0
Fork 0

fixed leak

This commit is contained in:
jsteemann 2016-06-09 13:15:36 +02:00
parent dff3c23380
commit 2464acf327
1 changed files with 5 additions and 0 deletions

View File

@ -91,6 +91,11 @@ TransactionContext::~TransactionContext() {
// If some external entity is still using the ditch, it is kept!
}
// free all VPackBuilders we handed out
for (auto& it : _builders) {
delete it;
}
if (_ownsResolver) {
delete _resolver;
}