[Zope-Checkins] CVS: Zope/lib/python/AccessControl - cAccessControl.c:1.9.16.1
Steve Alexander
steve@cat-box.net
Fri, 5 Oct 2001 09:03:56 -0400
Update of /cvs-repository/Zope/lib/python/AccessControl
In directory cvs.zope.org:/tmp/cvs-serv4543/lib/python/AccessControl
Modified Files:
Tag: stevea_zcatalog_api_cruft_cleanup-branch
cAccessControl.c
Log Message:
Updated stevea_zcatalog_api_cruft_cleanup to be in synch with HEAD
=== Zope/lib/python/AccessControl/cAccessControl.c 1.9 => 1.9.16.1 ===
static void ZopeSecurityPolicy_dealloc(ZopeSecurityPolicy *self) {
+
+ Py_DECREF(self->ob_type); /* Extensionclass init incref'd */
+
PyMem_DEL(self);
}
@@ -1315,6 +1318,8 @@
Py_XDECREF(self->__roles__);
+ Py_DECREF(self->ob_type); /* Extensionclass init incref'd */
+
PyMem_DEL(self);
}
@@ -1678,6 +1683,8 @@
Py_XDECREF(self->_v);
self->_v = NULL;
+
+ Py_DECREF(self->ob_type); /* Extensionclass init incref'd */
PyMem_DEL(self);
}