Commit d7385c2a authored by nikhil n's avatar nikhil n

made changes in Capi for Python2.5

parent af081802
...@@ -100,7 +100,7 @@ Splitter_dealloc(Splitter *self) ...@@ -100,7 +100,7 @@ Splitter_dealloc(Splitter *self)
{ {
Py_XDECREF(self->text); Py_XDECREF(self->text);
Py_XDECREF(self->synstop); Py_XDECREF(self->synstop);
PyMem_DEL(self); PyObject_DEL(self);
} }
static int static int
......
...@@ -56,7 +56,7 @@ Splitter_dealloc(Splitter *self) ...@@ -56,7 +56,7 @@ Splitter_dealloc(Splitter *self)
{ {
Py_XDECREF(self->list); Py_XDECREF(self->list);
Py_XDECREF(self->synstop); Py_XDECREF(self->synstop);
PyMem_DEL(self); PyObject_DEL(self);
} }
static int static int
......
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