Commits

bi...@4525493e-7705-40b1-a816-d608a930855b  committed ddb94dd

'fixing bug #89025: Py_XDECREF instead of Py_DECREF'

  • Participants
  • Parent commits d669b70
  • Tags RootUtils-00-00-58

Comments (0)

Files changed (2)

+2012-03-09  Sebastien Binet  <binet@voatlas51.cern.ch>
+
+	* tagging RootUtils-00-00-58
+	* fixing bug #89025: Py_XDECREF instead of Py_DECREF
+	* M src/pyroot/PyROOTInspector.cxx
+
 2011-08-10  scott snyder  <snyder@bnl.gov>
 
 	* Tagging RootUtils-00-00-57.

File src/pyroot/PyROOTInspector.cxx

       PyObject *itr = PySequence_GetItem(pyobj, i);
       PyObject *itr_name = ::new_pylist(pyobj_name, pyidx);
       recurse_pyinspect(itr, itr_name, pystack);
-      Py_DECREF(itr_name);
-      Py_DECREF(pyidx);
-      Py_DECREF(itr);
+      Py_XDECREF(itr_name);
+      Py_XDECREF(pyidx);
+      Py_XDECREF(itr);
     }
 
 #if PYROOT_INSPECTOR_DBG