summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 6e244d49..3933987e 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -3545,6 +3545,7 @@ void MainWindow::deleteSavegame_clicked()
} else {
ISaveGame const *save = info->getSaveGameInfo(name);
deleteFiles += save->allFiles();
+ delete save;
}
}