diff options
-rw-r--r-- | engines/draci/barchive.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/draci/barchive.cpp b/engines/draci/barchive.cpp index c3117cd0f2..df527221cd 100644 --- a/engines/draci/barchive.cpp +++ b/engines/draci/barchive.cpp @@ -220,6 +220,8 @@ void BArchive::openArchive(const Common::String &path) { // Last footer item should be equal to footerOffset assert(reader.readUint32LE() == footerOffset && "Footer offset mismatch"); + delete[] footer; + f.close(); } |