Skip to content

Commit

Permalink
Fix leak of geometry in QgsSelectedFeature destructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandro Santilli committed May 28, 2013
1 parent 20c729a commit 047976b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/nodetool/qgsselectedfeature.cpp
Expand Up @@ -57,6 +57,8 @@ QgsSelectedFeature::~QgsSelectedFeature()
mValidator->deleteLater();
mValidator = 0;
}

delete mGeometry;
}

void QgsSelectedFeature::currentLayerChanged( QgsMapLayer *layer )
Expand Down

0 comments on commit 047976b

Please sign in to comment.