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

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


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

Modified Files:
      Tag: Zope-2_6-branch
	cPickleCache.c 
Log Message:
If setklassstate fails, then v == NULL.


=== Zope/lib/python/ZODB/cPickleCache.c 1.68 => 1.68.10.1 ===
--- Zope/lib/python/ZODB/cPickleCache.c:1.68	Mon Jun 10 22:34:22 2002
+++ Zope/lib/python/ZODB/cPickleCache.c	Fri Dec 13 16:20:25 2002
@@ -430,7 +430,7 @@
 	if (PyObject_DelAttr(v, py__p_changed) < 0)
 	    PyErr_Clear();
     }
-    Py_DECREF(v);
+    Py_XDECREF(v);
 }
 
 static PyObject *