diff options
Diffstat (limited to 'engines/xeen/files.cpp')
-rw-r--r-- | engines/xeen/files.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/files.cpp b/engines/xeen/files.cpp index f15a08b184..f8e7a3fc0c 100644 --- a/engines/xeen/files.cpp +++ b/engines/xeen/files.cpp @@ -175,7 +175,7 @@ Common::SeekableReadStream *CCArchive::createReadStreamForMember(const Common::S // Read in the data for the specific resource f.seek(ccEntry._offset); - byte *data = new byte[ccEntry._size]; + byte *data = (byte *)malloc(ccEntry._size); f.read(data, ccEntry._size); if (_encoded) { |