[Scummvm-cvs-logs] SF.net SVN: scummvm: [32496] scummvm/trunk/common/unarj.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Mon Jun 2 20:19:21 CEST 2008


Revision: 32496
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32496&view=rev
Author:   sev
Date:     2008-06-02 11:19:18 -0700 (Mon, 02 Jun 2008)

Log Message:
-----------
Plug memory leak

Modified Paths:
--------------
    scummvm/trunk/common/unarj.cpp

Modified: scummvm/trunk/common/unarj.cpp
===================================================================
--- scummvm/trunk/common/unarj.cpp	2008-06-02 13:12:07 UTC (rev 32495)
+++ scummvm/trunk/common/unarj.cpp	2008-06-02 18:19:18 UTC (rev 32496)
@@ -88,6 +88,8 @@
 		delete _headers[i];
 
 	_headers.clear();
+	_fileMap.clear();
+	_archMap.clear();
 }
 
 void ArjFile::registerArchive(const String &filename) {


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