summaryrefslogtreecommitdiffstats
path: root/sigmodr/SigmodrUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmodr/SigmodrUI.cpp')
-rw-r--r--sigmodr/SigmodrUI.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sigmodr/SigmodrUI.cpp b/sigmodr/SigmodrUI.cpp
index 88ce2f3e..c3049896 100644
--- a/sigmodr/SigmodrUI.cpp
+++ b/sigmodr/SigmodrUI.cpp
@@ -408,6 +408,7 @@ bool SigmodrUI::closeGame(const Game* game, const bool force)
}
}
treeSigmod->deleteGame(game);
+ delete game;
}
return true;
}