diff options
author | David Turner | 2011-01-30 16:50:55 +0000 |
---|---|---|
committer | David Turner | 2011-01-30 16:50:55 +0000 |
commit | ec885e5665b662f5c531d790e80fd064b3c4c428 (patch) | |
tree | a2b583203d5946190ac31a69e4c5f54a16ad07a9 /engines/toon/script_func.cpp | |
parent | b644c6d466621edc532ba9edb0bed5fbf09fe724 (diff) | |
download | scummvm-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 'engines/toon/script_func.cpp')
0 files changed, 0 insertions, 0 deletions