[Scummvm-cvs-logs] SF.net SVN: scummvm:[47049] tools/trunk/compress.cpp
sev at users.sourceforge.net
sev at users.sourceforge.net
Tue Jan 5 22:46:29 CET 2010
Revision: 47049
http://scummvm.svn.sourceforge.net/scummvm/?rev=47049&view=rev
Author: sev
Date: 2010-01-05 21:46:28 +0000 (Tue, 05 Jan 2010)
Log Message:
-----------
Patch #2925880: "Tools: memory leak in compress_sword1"
Modified Paths:
--------------
tools/trunk/compress.cpp
Modified: tools/trunk/compress.cpp
===================================================================
--- tools/trunk/compress.cpp 2010-01-05 21:43:56 UTC (rev 47048)
+++ tools/trunk/compress.cpp 2010-01-05 21:46:28 UTC (rev 47049)
@@ -676,6 +676,7 @@
Common::File tmpFile(TEMP_RAW, "wb");
tmpFile.write(aifData, size);
tmpFile.close();
+ free(aifData);
// Convert the temporary raw file to MP3/OGG/FLAC
// Samples are always signed, and big endian.
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