Skip to content

Commit

Permalink
made changes in c code for Python2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil n committed Sep 8, 2007
1 parent 0f95dc0 commit 4dd7e33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cDocumentTemplate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 *
Expand Down Expand Up @@ -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 *
Expand Down Expand Up @@ -514,7 +514,7 @@ static void
DictInstance_dealloc(DictInstance *self)
{
Py_DECREF(self->data);
PyMem_DEL(self);
PyObject_DEL(self);
}

static PyObject *
Expand Down

0 comments on commit 4dd7e33

Please sign in to comment.