Revert "KYRA: Plug memory leak"

This reverts commit 9909cc615d.

This will likely cause invalid memory reads because it frees the last output
buffer which is used to keep files in memory. There is a possible memory leak
here, when the input data is not well formed. However, fixing this takes some
more effort than the solution in the reverted commit.
This commit is contained in:
Johannes Schickel 2016-05-15 15:48:17 +02:00
parent 3664caa29c
commit 18193d170e

View File

@ -1180,8 +1180,6 @@ Common::Archive *InstallerLoader::load(Resource *owner, const Common::String &fi
delete tmpFile;
tmpFile = 0;
}
delete[] outbuffer;
outbuffer = 0;
}
archives.clear();