mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-28 10:04:43 +00:00
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:
parent
ea82a30e3d
commit
7016503a45
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ static void
|
|||
ftpparse_dealloc(ftpparseObject* self)
|
||||
{
|
||||
Py_XDECREF(self->string);
|
||||
PyMem_DEL(self);
|
||||
PyObject_Del(self);
|
||||
}
|
||||
|
||||
static PyObject*
|
||||
|
|
|
|||
Loading…
Reference in a new issue