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
32873287 return nullptr ;
32883288 }
32893289
3290- QgsExpressionNode::NodeList * opArgs = new QgsExpressionNode::NodeList ();
3290+ std::unique_ptr< QgsExpressionNode::NodeList> opArgs ( new QgsExpressionNode::NodeList () );
32913291 opArgs->append ( new QgsExpressionNodeFunction ( QgsExpression::functionIndex ( QStringLiteral ( " $geometry" ) ), new QgsExpressionNode::NodeList () ) );
32923292 opArgs->append ( new QgsExpressionNodeFunction ( QgsExpression::functionIndex ( QStringLiteral ( " geomFromGML" ) ), gml2Args.release () ) );
32933293
3294- return new QgsExpressionNodeFunction ( opIdx, opArgs );
3294+ return new QgsExpressionNodeFunction ( opIdx, opArgs. release () );
32953295}
32963296
32973297QgsExpressionNodeColumnRef *QgsOgcUtilsExpressionFromFilter::nodeColumnRefFromOgcFilter ( const QDomElement &element )
You can’t perform that action at this time.
0 commit comments