1
0
Fork 0

Fix a memleak in instanciation.

This commit is contained in:
Max Neunhoeffer 2014-10-30 14:58:12 +01:00
parent 609adf0d37
commit 4503d7a982
1 changed files with 1 additions and 1 deletions

View File

@ -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) {