mirror of https://gitee.com/bigwinds/arangodb
Fix a memleak in instanciation.
This commit is contained in:
parent
609adf0d37
commit
4503d7a982
|
@ -466,7 +466,7 @@ struct CoordinatorInstanciator : public WalkerWorker<ExecutionNode> {
|
|||
|
||||
ExecutionNode* previous = nullptr;
|
||||
for (ExecutionNode const* current : info.nodes) {
|
||||
auto clone = current->clone(&plan, false, true);
|
||||
auto clone = current->clone(&plan, false, false);
|
||||
// UNNECESSARY, because clone does it: plan.registerNode(clone);
|
||||
|
||||
if (current->getType() == ExecutionNode::REMOTE) {
|
||||
|
|
Loading…
Reference in New Issue