diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index 5e047989559..a3a89fcf636 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -1636,6 +1636,8 @@ QgisApp::~QgisApp() mBrowserModel = nullptr; delete mGeometryValidationDock; mGeometryValidationDock = nullptr; + delete mSnappingUtils; + mSnappingUtils = nullptr; QgsGui::instance()->nativePlatformInterface()->cleanup();