← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~zorba-coders/zorba/bug1129950 into lp:zorba

 

Juan Zacarias has proposed merging lp:~zorba-coders/zorba/bug1129950 into lp:zorba.

Commit message:
Fix for bug1129950 memory problem when closing xqxq

Requested reviews:
  Chris Hillery (ceejatec)
Related bugs:
  Bug #1129950 in Zorba: "Memory problem when closing XQXQ"
  https://bugs.launchpad.net/zorba/+bug/1129950

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug1129950/+merge/150105

Fix for bug1129950 memory problem when closing xqxq
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug1129950/+merge/150105
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'modules/xqxq/xqxq.xq.src/xqxq.cpp'
--- modules/xqxq/xqxq.xq.src/xqxq.cpp	2013-02-22 12:37:37 +0000
+++ modules/xqxq/xqxq.xq.src/xqxq.cpp	2013-02-22 17:14:26 +0000
@@ -203,12 +203,6 @@
 {
   if (theQueryMap)
   {
-    for (QueryMap_t::const_iterator lIter = theQueryMap->begin();
-         lIter != theQueryMap->end(); ++lIter)
-    {
-      deleteQuery(lIter->first);
-    }
-    theQueryMap->clear();
     delete theQueryMap;
   }
   delete this;


Follow ups