[Scummvm-cvs-logs] CVS: scummvm/gui launcher.cpp,1.88.2.1,1.88.2.2
Max Horn
fingolfin at users.sourceforge.net
Thu Mar 25 15:40:04 CET 2004
Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4412
Modified Files:
Tag: branch-0-6-0
launcher.cpp
Log Message:
fix leak on 0.6.0 branch, too
Index: launcher.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/launcher.cpp,v
retrieving revision 1.88.2.1
retrieving revision 1.88.2.2
diff -u -d -r1.88.2.1 -r1.88.2.2
--- launcher.cpp 17 Mar 2004 00:08:15 -0000 1.88.2.1
+++ launcher.cpp 25 Mar 2004 23:28:57 -0000 1.88.2.2
@@ -407,6 +407,9 @@
// ...so let's determine a list of candidates, games that
// could be contained in the specified directory.
DetectedGameList candidates(PluginManager::instance().detectGames(*files));
+
+ delete files;
+ files = 0;
int idx;
if (candidates.isEmpty()) {
More information about the Scummvm-git-logs
mailing list