diff options
Diffstat (limited to 'src/game/GameModel.cpp')
| -rw-r--r-- | src/game/GameModel.cpp | 2 |
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; } } |
