File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3287,11 +3287,11 @@ QgsExpressionNodeFunction *QgsOgcUtilsExpressionFromFilter::nodeSpatialOperatorF
3287
3287
return nullptr ;
3288
3288
}
3289
3289
3290
- QgsExpressionNode::NodeList * opArgs = new QgsExpressionNode::NodeList ();
3290
+ std::unique_ptr< QgsExpressionNode::NodeList> opArgs ( new QgsExpressionNode::NodeList () );
3291
3291
opArgs->append ( new QgsExpressionNodeFunction ( QgsExpression::functionIndex ( QStringLiteral ( " $geometry" ) ), new QgsExpressionNode::NodeList () ) );
3292
3292
opArgs->append ( new QgsExpressionNodeFunction ( QgsExpression::functionIndex ( QStringLiteral ( " geomFromGML" ) ), gml2Args.release () ) );
3293
3293
3294
- return new QgsExpressionNodeFunction ( opIdx, opArgs );
3294
+ return new QgsExpressionNodeFunction ( opIdx, opArgs. release () );
3295
3295
}
3296
3296
3297
3297
QgsExpressionNodeColumnRef *QgsOgcUtilsExpressionFromFilter::nodeColumnRefFromOgcFilter ( const QDomElement &element )
You can’t perform that action at this time.
0 commit comments