aboutsummaryrefslogtreecommitdiffstats
path: root/heimdall-frontend/source
diff options
context:
space:
mode:
Diffstat (limited to 'heimdall-frontend/source')
-rw-r--r--heimdall-frontend/source/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/heimdall-frontend/source/mainwindow.cpp b/heimdall-frontend/source/mainwindow.cpp
index e110d69..8167e5a 100644
--- a/heimdall-frontend/source/mainwindow.cpp
+++ b/heimdall-frontend/source/mainwindow.cpp
@@ -131,7 +131,7 @@ bool MainWindow::ReadPit(QFile *file)
file->close();
bool success = currentPitData.Unpack(buffer);
- delete buffer;
+ delete[] buffer;
if (!success)
currentPitData.Clear();