← Back to team overview

zorba-coders team mailing list archive

[Merge] lp:~zorba-coders/zorba/bug-1032166 into lp:zorba

 

Ghislain Fourny has proposed merging lp:~zorba-coders/zorba/bug-1032166 into lp:zorba.

Requested reviews:
  Matthias Brantner (matthias-brantner)
  Chris Hillery (ceejatec)
Related bugs:
  Bug #1032166 in Zorba: "JSONiq items RCs are decremented twice upon removeReference() call if counter >1"
  https://bugs.launchpad.net/zorba/+bug/1032166

For more details, see:
https://code.launchpad.net/~zorba-coders/zorba/bug-1032166/+merge/117883

Fixes bug 1032166 (critical memory bug).
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1032166/+merge/117883
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'src/store/naive/item.cpp'
--- src/store/naive/item.cpp	2012-07-24 08:48:48 +0000
+++ src/store/naive/item.cpp	2012-08-02 12:45:24 +0000
@@ -161,6 +161,7 @@
     }
 
     SYNC_CODE(static_cast<const simplestore::json::JSONItem*>(this)->getRCLock()->release());
+    return;
   }
 #endif
   case ATOMIC:


Follow ups