Skip to content
Permalink
Browse files

Fix Coverity null pointer dereference warning

  • Loading branch information
nyalldawson committed Apr 3, 2018
1 parent b22b62f commit b18aaae014007d98b726515a16d85aaae629634d
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 b18aaae

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