mirror of https://gitee.com/bigwinds/arangodb
fixed leak
This commit is contained in:
parent
dff3c23380
commit
2464acf327
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue