[Zodb-checkins] CVS: ZODB3/ZODB - cPersistence.c:1.66
Jeremy Hylton
jeremy@zope.com
Tue, 1 Apr 2003 11:08:14 -0500
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv6555
Modified Files:
cPersistence.c
Log Message:
Don't decref cache in Per_dealloc().
The cache decrefed it in percachedel.
=== ZODB3/ZODB/cPersistence.c 1.65 => 1.66 ===
--- ZODB3/ZODB/cPersistence.c:1.65 Wed Oct 16 12:12:48 2002
+++ ZODB3/ZODB/cPersistence.c Tue Apr 1 11:08:14 2003
@@ -434,7 +434,6 @@
if (idebug_log < 0) call_debug("del",self);
#endif
deallocated(self);
- Py_XDECREF(self->cache);
Py_DECREF(self->ob_type);
PyObject_DEL(self);
}
@@ -724,7 +723,7 @@
else PyErr_SetObject(PyExc_AttributeError, oname);
}
else
- return _setattro(self,oname, v, PyExtensionClassCAPI->setattro);
+ return _setattro(self, oname, v, PyExtensionClassCAPI->setattro);
if (m)
{