diff options
author | Torbjörn Andersson | 2010-10-19 04:59:45 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-10-19 04:59:45 +0000 |
commit | c1a3689a5d561f3a6779282c23b9bbed75bbeccd (patch) | |
tree | 3a3c4f76492ecfc138d12c9d5c4baa60f17f69a7 | |
parent | fdaa1b9c613fd5a1eae81652879f7bdb45c51be6 (diff) | |
download | scummvm-rg350-c1a3689a5d561f3a6779282c23b9bbed75bbeccd.tar.gz scummvm-rg350-c1a3689a5d561f3a6779282c23b9bbed75bbeccd.tar.bz2 scummvm-rg350-c1a3689a5d561f3a6779282c23b9bbed75bbeccd.zip |
SWORD25: Fix cppcheck warning
svn-id: r53600
-rw-r--r-- | engines/sword25/package/packagemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/package/packagemanager.cpp b/engines/sword25/package/packagemanager.cpp index c80f0c6c84..def9802386 100644 --- a/engines/sword25/package/packagemanager.cpp +++ b/engines/sword25/package/packagemanager.cpp @@ -186,7 +186,7 @@ byte *PackageManager::getFile(const Common::String &fileName, uint *fileSizePtr) delete in; if (!bytesRead) { - delete buffer; + delete[] buffer; return NULL; } |