Skip to content

Commit

Permalink
added missing delete
Browse files Browse the repository at this point in the history
  • Loading branch information
Jazzco authored and MrMontag committed Feb 24, 2023
1 parent f8db952 commit fe3dc47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gdxviewer/gdxviewerstate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ GdxViewerState::GdxViewerState()
GdxViewerState::~GdxViewerState()
{
for (auto it = mSymbolViewState.begin() ; it != mSymbolViewState.end() ; ) {
delete it.value();
it = mSymbolViewState.erase(it);
}
}
Expand Down

0 comments on commit fe3dc47

Please sign in to comment.