use PyObject_Del instead of PyMem_DEL, fixing possible segfault

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3370 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2006-06-10 20:56:11 +00:00
parent ea82a30e3d
commit 7016503a45

View file

@ -58,7 +58,7 @@ static void
ftpparse_dealloc(ftpparseObject* self)
{
Py_XDECREF(self->string);
PyMem_DEL(self);
PyObject_Del(self);
}
static PyObject*