Commit 3feedb2c authored by nikhil n's avatar nikhil n

made changes in c code for Python2.5

parent d7385c2a
......@@ -1278,7 +1278,7 @@ static PyObject *ZopeSecurityPolicy_validate(PyObject *self, PyObject *args) {
static void ZopeSecurityPolicy_dealloc(ZopeSecurityPolicy *self) {
Py_DECREF(self->ob_type); /* Extensionclass init incref'd */
PyMem_DEL(self);
PyObject_DEL(self);
}
......@@ -1362,7 +1362,7 @@ SecurityManager_dealloc(SecurityManager *self)
Py_XDECREF(self->validate);
Py_XDECREF(self->checkPermission);
Py_DECREF(self->ob_type); /* Extensionclass init incref'd */
PyMem_DEL(self);
PyObject_DEL(self);
}
static PyObject *
......@@ -1559,7 +1559,7 @@ static void PermissionRole_dealloc(PermissionRole *self) {
Py_XDECREF(self->ob_type); /* Extensionclass init incref'd */
PyMem_DEL(self);
PyObject_DEL(self);
}
......@@ -1705,7 +1705,7 @@ static void imPermissionRole_dealloc(imPermissionRole *self) {
Py_DECREF(self->ob_type); /* Extensionclass init incref'd */
PyMem_DEL(self);
PyObject_DEL(self);
}
/*
......
......@@ -54,7 +54,7 @@ CA_dealloc(CA *self)
{
Py_DECREF(self->callable);
Py_DECREF(self->ob_type);
PyMem_DEL(self);
PyObject_DEL(self);
}
static PyObject *
......
......@@ -84,7 +84,7 @@ InstanceDict_dealloc(InstanceDictobject *self)
Py_XDECREF(self->namespace);
Py_XDECREF(self->guarded_getattr);
Py_DECREF(self->ob_type);
PyMem_DEL(self);
PyObject_DEL(self);
}
static PyObject *
......@@ -438,7 +438,7 @@ MM_dealloc(MM *self)
Py_XDECREF(self->data);
Py_XDECREF(self->dict);
Py_DECREF(self->ob_type);
PyMem_DEL(self);
PyObject_DEL(self);
}
static PyObject *
......@@ -514,7 +514,7 @@ static void
DictInstance_dealloc(DictInstance *self)
{
Py_DECREF(self->data);
PyMem_DEL(self);
PyObject_DEL(self);
}
static PyObject *
......
......@@ -32,7 +32,7 @@ static void
Missing_dealloc(Missing *self)
{
Py_DECREF(self->ob_type);
PyMem_DEL(self);
PyObject_DEL(self);
}
static PyObject *
......
......@@ -130,7 +130,7 @@ MM_dealloc(MMobject *self)
{
Py_XDECREF(self->data);
Py_DECREF(self->ob_type);
PyMem_DEL(self);
PyObject_DEL(self);
}
static PyObject *
......
......@@ -47,7 +47,7 @@ Splitter_dealloc(Splitter *self)
{
Py_XDECREF(self->text);
Py_XDECREF(self->synstop);
PyMem_DEL(self);
PyObject_DEL(self);
}
static int
......
......@@ -156,7 +156,7 @@ Record_dealloc(Record *self)
{
Record_deal(self);
Py_DECREF(self->ob_type);
PyMem_DEL(self);
PyObject_DEL(self);
}
static PyObject *
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment