From fe3dc47cc91dce37be6fb5458223afddff8619d4 Mon Sep 17 00:00:00 2001 From: Jazzco Date: Thu, 23 Feb 2023 17:08:56 +0100 Subject: [PATCH] added missing delete --- src/gdxviewer/gdxviewerstate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gdxviewer/gdxviewerstate.cpp b/src/gdxviewer/gdxviewerstate.cpp index c10c6a365..525c3f81d 100644 --- a/src/gdxviewer/gdxviewerstate.cpp +++ b/src/gdxviewer/gdxviewerstate.cpp @@ -33,6 +33,7 @@ GdxViewerState::GdxViewerState() GdxViewerState::~GdxViewerState() { for (auto it = mSymbolViewState.begin() ; it != mSymbolViewState.end() ; ) { + delete it.value(); it = mSymbolViewState.erase(it); } }