Skip to content

Commit

Permalink
Cleanup feature sinks directly after using them
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Apr 9, 2018
1 parent 3be4324 commit 69d77a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/analysis/processing/qgsalgorithmfilter.cpp
Expand Up @@ -127,6 +127,8 @@ QVariantMap QgsFilterAlgorithm::processAlgorithm( const QVariantMap &parameters,
{
outputs.insert( output->name, output->destinationIdentifier );
}
qDeleteAll( mOutputs );
mOutputs.clear();
return outputs;
}

0 comments on commit 69d77a7

Please sign in to comment.