[Zope-Checkins] CVS: StandaloneZODB/ZODB - cPickleCache.c:1.33.68.3

Jeremy Hylton jeremy@zope.com
Tue, 6 Nov 2001 12:36:50 -0500


Update of /cvs-repository/StandaloneZODB/ZODB
In directory cvs.zope.org:/tmp/cvs-serv24487

Modified Files:
      Tag: jeremy-Standby-branch
	cPickleCache.c 
Log Message:
Fix refcount bug in new calling code for PyObject_Call().


=== StandaloneZODB/ZODB/cPickleCache.c 1.33.68.2 => 1.33.68.3 ===
 		PyTuple_SET_ITEM(t, 0, v);
 		v = PyObject_Call(self->setklassstate, t, NULL);
+		PyTuple_SET_ITEM(t, 0, NULL);
 		Py_DECREF(t);
 	      }
 	    else