Fix devpoll_dealloc().
This commit is contained in:
parent
168d59b669
commit
a93bf7b9a6
|
@ -1040,7 +1040,7 @@ newDevPollObject(void)
|
||||||
static void
|
static void
|
||||||
devpoll_dealloc(devpollObject *self)
|
devpoll_dealloc(devpollObject *self)
|
||||||
{
|
{
|
||||||
(void)devpoll_internal_close();
|
(void)devpoll_internal_close(self);
|
||||||
PyMem_DEL(self->fds);
|
PyMem_DEL(self->fds);
|
||||||
PyObject_Del(self);
|
PyObject_Del(self);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue