summaryrefslogtreecommitdiffstats
path: root/sigmodr/SigmodrUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-05-28 22:49:53 -0400
committerBen Boeckel <MathStuf@gmail.com>2009-05-28 22:49:53 -0400
commitab3a843a32d4effed96e0ee401550883e2853e47 (patch)
tree7b2822a13d4b9c9fc6d9dcc8406ed973c79dc9e4 /sigmodr/SigmodrUI.cpp
parent860a65f2f3db46daff156f83ffed583e7ee772ed (diff)
The tree deletes the game, don't double delete
Diffstat (limited to 'sigmodr/SigmodrUI.cpp')
-rw-r--r--sigmodr/SigmodrUI.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/sigmodr/SigmodrUI.cpp b/sigmodr/SigmodrUI.cpp
index b1bbf22a..88939ca5 100644
--- a/sigmodr/SigmodrUI.cpp
+++ b/sigmodr/SigmodrUI.cpp
@@ -421,7 +421,6 @@ bool SigmodrUI::closeGame(const Game* game, const bool force)
}
}
treeSigmod->deleteGame(game);
- delete game;
}
return true;
}