diff options
Diffstat (limited to 'engines/sword2')
-rw-r--r-- | engines/sword2/resman.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/resman.cpp b/engines/sword2/resman.cpp index c49fb8e786..330abf4adf 100644 --- a/engines/sword2/resman.cpp +++ b/engines/sword2/resman.cpp @@ -179,7 +179,7 @@ bool ResourceManager::init() { cdInf[i].cd = file.readByte(); if (file.eos() || file.err()) { - delete cdInf; + delete[] cdInf; file.close(); GUIErrorMessage("Broken Sword 2: Cannot read cd.inf"); return false; |