summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pankratz <kratz00@gmx.de>2016-02-29 18:39:21 +0100
committerSteffen Pankratz <kratz00@gmx.de>2016-02-29 18:39:21 +0100
commit6d7d35fa7630dde930c4647af41b3d8d76987f45 (patch)
treec59d7d18f57cdfc466fd7c61874259c587f421f0
parent- fixed typos (diff)
downloadHeimdall-6d7d35fa7630dde930c4647af41b3d8d76987f45.tar
Heimdall-6d7d35fa7630dde930c4647af41b3d8d76987f45.tar.gz
Heimdall-6d7d35fa7630dde930c4647af41b3d8d76987f45.tar.bz2
Heimdall-6d7d35fa7630dde930c4647af41b3d8d76987f45.tar.lz
Heimdall-6d7d35fa7630dde930c4647af41b3d8d76987f45.tar.xz
Heimdall-6d7d35fa7630dde930c4647af41b3d8d76987f45.tar.zst
Heimdall-6d7d35fa7630dde930c4647af41b3d8d76987f45.zip
-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();