diff --git a/src/plugins/georeferencer/qgspointdialog.cpp b/src/plugins/georeferencer/qgspointdialog.cpp index 3e432ff7b03..83b35965119 100644 --- a/src/plugins/georeferencer/qgspointdialog.cpp +++ b/src/plugins/georeferencer/qgspointdialog.cpp @@ -451,6 +451,7 @@ void QgsPointDialog::deleteDataPoint(QgsPoint& coords) if ((x*x + y*y) < maxDistSqr) { mPoints.erase(it); + delete *it; mCanvas->refresh(); break; }