[Zodb-checkins] CVS: Zope/lib/python/ZODB - cPickleCache.c:1.70

Jeremy Hylton jeremy@zope.com
Fri, 13 Dec 2002 16:22:20 -0500


Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv10624

Modified Files:
	cPickleCache.c 
Log Message:
If setklassstate fails, v == NULL.


=== Zope/lib/python/ZODB/cPickleCache.c 1.69 => 1.70 ===
--- Zope/lib/python/ZODB/cPickleCache.c:1.69	Wed Oct 23 15:18:35 2002
+++ Zope/lib/python/ZODB/cPickleCache.c	Fri Dec 13 16:22:20 2002
@@ -329,7 +329,7 @@
 	if (PyObject_DelAttr(v, py__p_changed) < 0)
 	    PyErr_Clear();
     }
-    Py_DECREF(v);
+    Py_XDECREF(v);
 }
 
 static PyObject *