Skip to content
Permalink
Browse files

Fix use after free

  • Loading branch information
nyalldawson committed Oct 30, 2017
1 parent ba05edc commit b3ef4da2c05e4c7c8b140a747875f138d88dc95a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -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;
@@ -1338,6 +1337,7 @@ QgisApp::~QgisApp()
delete mMapTools.mRegularPolygon2Points;
delete mMapTools.mRegularPolygonCenterPoint;
delete mMapTools.mRegularPolygonCenterCorner;
delete mMapTools.mAddFeature;
delete mpMaptip;

delete mpGpsWidget;

0 comments on commit b3ef4da

Please sign in to comment.
You can’t perform that action at this time.