Skip to content
Permalink
Browse files

Fix Coverity null pointer dereference warning

(cherry-picked from b18aaae)
  • Loading branch information
nyalldawson committed Apr 6, 2018
1 parent 5d567b8 commit 071e58e188913935e19f72be26e0aa057669a934
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/app/qgsmaptoolselectfreehand.cpp
@@ -78,7 +78,6 @@ void QgsMapToolSelectFreehand::canvasReleaseEvent( QgsMapMouseEvent *e )
}
}

mRubberBand->reset( QgsWkbTypes::PolygonGeometry );
delete mRubberBand;
mRubberBand = nullptr;
mActive = false;

0 comments on commit 071e58e

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