[Zope-Checkins] CVS: ZODB3/ZODB - cPickleCache.c:1.85.6.2
Jeremy Hylton
jeremy at zope.com
Wed Oct 1 16:36:19 EDT 2003
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv11367
Modified Files:
Tag: Zope-2_7-branch
cPickleCache.c
Log Message:
A two-X fix for a core dump.
Guard against clear() being called twice.
=== ZODB3/ZODB/cPickleCache.c 1.85.6.1 => 1.85.6.2 ===
--- ZODB3/ZODB/cPickleCache.c:1.85.6.1 Wed Oct 1 15:18:06 2003
+++ ZODB3/ZODB/cPickleCache.c Wed Oct 1 16:36:19 2003
@@ -504,10 +504,10 @@
via garbage collection.
*/
- Py_DECREF(self->setklassstate);
+ Py_XDECREF(self->setklassstate);
self->setklassstate = NULL;
- Py_DECREF(self->jar);
+ Py_XDECREF(self->jar);
self->jar = NULL;
Py_INCREF(Py_None);
More information about the Zope-Checkins
mailing list