[sword-svn] r1733 - trunk/src/mgr
jansorg at crosswire.org
jansorg at crosswire.org
Wed Feb 23 13:01:36 MST 2005
Author: jansorg
Date: 2005-02-23 13:01:35 -0700 (Wed, 23 Feb 2005)
New Revision: 1733
Modified:
trunk/src/mgr/installmgr.cpp
Log:
mem leak
Modified: trunk/src/mgr/installmgr.cpp
===================================================================
--- trunk/src/mgr/installmgr.cpp 2005-02-23 16:09:33 UTC (rev 1732)
+++ trunk/src/mgr/installmgr.cpp 2005-02-23 20:01:35 UTC (rev 1733)
@@ -102,6 +102,10 @@
InstallMgr::~InstallMgr() {
delete [] privatePath;
delete installConf;
+
+ for (InstallSourceMap::iterator it = sources.begin(); it != sources.end(); ++it) {
+ delete it->second;
+ }
}
More information about the sword-cvs
mailing list