diff --git a/src/game/GameModel.cpp b/src/game/GameModel.cpp index 15dfad1d9..05dc7fb8a 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; } }