diff options
Diffstat (limited to 'engines/bladerunner/savefile.cpp')
-rw-r--r-- | engines/bladerunner/savefile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/savefile.cpp b/engines/bladerunner/savefile.cpp index 929bd8b008..62bcdb2f17 100644 --- a/engines/bladerunner/savefile.cpp +++ b/engines/bladerunner/savefile.cpp @@ -127,7 +127,7 @@ bool SaveFileManager::readHeader(Common::SeekableReadStream &in, SaveFileHeader s.skip(4); //skip size; - void *thumbnailData = new byte[kThumbnailSize]; // freed by ScummVM's smartptr + void *thumbnailData = malloc(kThumbnailSize); // freed by ScummVM's smartptr s.read(thumbnailData, kThumbnailSize); // TODO: cleanup - remove magic constants |