Navigation Menu

Skip to content

Commit

Permalink
Fix Coverity null pointer dereference warning
Browse files Browse the repository at this point in the history
(cherry-picked from b18aaae)
  • Loading branch information
nyalldawson committed Apr 6, 2018
1 parent 5d567b8 commit 071e58e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/app/qgsmaptoolselectfreehand.cpp
Expand Up @@ -78,7 +78,6 @@ void QgsMapToolSelectFreehand::canvasReleaseEvent( QgsMapMouseEvent *e )
}
}

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

0 comments on commit 071e58e

Please sign in to comment.