Fix devpoll_dealloc().

This commit is contained in:
Richard Oudkerk 2013-08-22 14:03:44 +01:00
parent 168d59b669
commit a93bf7b9a6
1 changed files with 1 additions and 1 deletions

View File

@ -1040,7 +1040,7 @@ newDevPollObject(void)
static void
devpoll_dealloc(devpollObject *self)
{
(void)devpoll_internal_close();
(void)devpoll_internal_close(self);
PyMem_DEL(self->fds);
PyObject_Del(self);
}