Skip to content

Commit

Permalink
Fix use after free
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 30, 2017
1 parent ba05edc commit b3ef4da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -1285,7 +1285,6 @@ QgisApp::~QgisApp()
delete mMapTools.mZoomIn;
delete mMapTools.mZoomOut;
delete mMapTools.mPan;
delete mMapTools.mAddFeature;
delete mMapTools.mAddPart;
delete mMapTools.mAddRing;
delete mMapTools.mFillRing;
Expand Down Expand Up @@ -1338,6 +1337,7 @@ QgisApp::~QgisApp()
delete mMapTools.mRegularPolygon2Points;
delete mMapTools.mRegularPolygonCenterPoint;
delete mMapTools.mRegularPolygonCenterCorner;
delete mMapTools.mAddFeature;
delete mpMaptip;

delete mpGpsWidget;
Expand Down

0 comments on commit b3ef4da

Please sign in to comment.