aboutsummaryrefslogtreecommitdiff
path: root/test/common/memoryreadstream.h
diff options
context:
space:
mode:
authorDavid Turner2011-01-30 16:50:55 +0000
committerDavid Turner2011-01-30 16:50:55 +0000
commitec885e5665b662f5c531d790e80fd064b3c4c428 (patch)
treea2b583203d5946190ac31a69e4c5f54a16ad07a9 /test/common/memoryreadstream.h
parentb644c6d466621edc532ba9edb0bed5fbf09fe724 (diff)
downloadscummvm-rg350-ec885e5665b662f5c531d790e80fd064b3c4c428.tar.gz
scummvm-rg350-ec885e5665b662f5c531d790e80fd064b3c4c428.tar.bz2
scummvm-rg350-ec885e5665b662f5c531d790e80fd064b3c4c428.zip
SCUMM: Fix Valgrind mismatched delete errors in SMUSH channel base class.
This was due to the SMUSH channel base class using new/delete to manage buffer, but the imuse_channel and saud_channel classes which subclass and override this using malloc/free. The more C++ solution of moving all to new/delete was tried, but the buffer is passed into a MemoryReadStream and free()'d there, so all classes have been moved to malloc/free instead. This is not a critical problem as the buffers are byte primitive type anyway. svn-id: r55660
Diffstat (limited to 'test/common/memoryreadstream.h')
0 files changed, 0 insertions, 0 deletions