diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 22106b1dbd3..6291a2daa92 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -1459,7 +1459,6 @@ pyepoll_poll(pyEpoll_Object *self, PyObject *args, PyObject *kwds) evs = PyMem_New(struct epoll_event, maxevents); if (evs == NULL) { - Py_DECREF(self); PyErr_NoMemory(); return NULL; }