Commit c502d101 authored by Stefan Behnel's avatar Stefan Behnel

Fix refleak for module name string in coroutine objects.

parent cd3e1897
...@@ -1058,6 +1058,7 @@ static int __Pyx_Coroutine_clear(PyObject *self) { ...@@ -1058,6 +1058,7 @@ static int __Pyx_Coroutine_clear(PyObject *self) {
#endif #endif
Py_CLEAR(gen->gi_name); Py_CLEAR(gen->gi_name);
Py_CLEAR(gen->gi_qualname); Py_CLEAR(gen->gi_qualname);
Py_CLEAR(gen->gi_modulename);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment