← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~zorba-coders/zorba/markos-scratch into lp:zorba

 

Markos Zaharioudakis has proposed merging lp:~zorba-coders/zorba/markos-scratch into lp:zorba.

Requested reviews:
  Markos Zaharioudakis (markos-za)

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/104822

fixed memory leak in population of value index
-- 
https://code.launchpad.net/~zorba-coders/zorba/markos-scratch/+merge/104822
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/store/naive/store.cpp'
--- src/store/naive/store.cpp	2012-05-03 12:31:51 +0000
+++ src/store/naive/store.cpp	2012-05-05 03:22:19 +0000
@@ -568,6 +568,9 @@
       key2 = key;
       index->insert(key2, domainItem);
     }
+
+    if (key != key2)
+      delete key;
   }
   catch(...)
   {


Follow ups