summaryrefslogtreecommitdiff
path: root/src/game/GameModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameModel.cpp')
-rw-r--r--src/game/GameModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/GameModel.cpp b/src/game/GameModel.cpp
index 15dfad1..05dc7fb 100644
--- a/src/game/GameModel.cpp
+++ b/src/game/GameModel.cpp
@@ -849,8 +849,8 @@ void GameModel::RemoveNotification(Notification * notification)
{
if(*iter == notification)
{
- notifications.erase(iter);
delete *iter;
+ notifications.erase(iter);
break;
}
}