[Scummvm-cvs-logs] SF.net SVN: scummvm:[40309] scummvm/trunk/common/stream.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Mon May 4 18:35:47 CEST 2009
Revision: 40309
http://scummvm.svn.sourceforge.net/scummvm/?rev=40309&view=rev
Author: sev
Date: 2009-05-04 16:35:47 +0000 (Mon, 04 May 2009)
Log Message:
-----------
Fix valgrind warning
Modified Paths:
--------------
scummvm/trunk/common/stream.cpp
Modified: scummvm/trunk/common/stream.cpp
===================================================================
--- scummvm/trunk/common/stream.cpp 2009-05-04 15:23:33 UTC (rev 40308)
+++ scummvm/trunk/common/stream.cpp 2009-05-04 16:35:47 UTC (rev 40309)
@@ -237,7 +237,7 @@
BufferedReadStream::~BufferedReadStream() {
if (_disposeParentStream)
delete _parentStream;
- delete _buf;
+ delete[] _buf;
}
uint32 BufferedReadStream::read(void *dataPtr, uint32 dataSize) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list