We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 6292c6a commit a0ee107Copy full SHA for a0ee107
src/core/qgsexpression.h
@@ -1052,7 +1052,7 @@ class CORE_EXPORT QgsExpression
1052
/** Adds a named node. Takes ownership of the provided node.
1053
* @note added in QGIS 2.16
1054
*/
1055
- void append( NamedNode* node ) { mList.append( node->node ); mNameList.append( node->name.toLower() ); mHasNamedNodes = true; }
+ void append( NamedNode* node ) { mList.append( node->node ); mNameList.append( node->name.toLower() ); mHasNamedNodes = true; delete node; }
1056
1057
/** Returns the number of nodes in the list.
1058
0 commit comments