changeset: 95983:0dc3b61f1dfa user: Yury Selivanov date: Tue May 12 11:30:14 2015 -0400 files: Python/sysmodule.c description: Issue #24017: Plug ref leak. diff -r 0be7c8f46378 -r 0dc3b61f1dfa Python/sysmodule.c --- a/Python/sysmodule.c Tue May 12 17:25:41 2015 +0300 +++ b/Python/sysmodule.c Tue May 12 11:30:14 2015 -0400 @@ -655,12 +655,10 @@ Py_TYPE(wrapper)->tp_name); return NULL; } - PyEval_SetCoroutineWrapper(wrapper); } else PyEval_SetCoroutineWrapper(NULL); - Py_INCREF(Py_None); Py_RETURN_NONE; }