diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2017-10-31 11:23:19 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2017-10-31 11:23:19 +0100 |
commit | c502d101cc9c5864349c43bc25d200548b0b7f1d (patch) | |
tree | c9197116b0d084e43653fbda4d769de11931b667 | |
parent | cd3e189794d82f2e577cfad21f40ff72880e8273 (diff) | |
download | cython-c502d101cc9c5864349c43bc25d200548b0b7f1d.tar.gz |
Fix refleak for module name string in coroutine objects.
-rw-r--r-- | Cython/Utility/Coroutine.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Cython/Utility/Coroutine.c b/Cython/Utility/Coroutine.c index e73f97d73..b8cd077e7 100644 --- a/Cython/Utility/Coroutine.c +++ b/Cython/Utility/Coroutine.c @@ -1058,6 +1058,7 @@ static int __Pyx_Coroutine_clear(PyObject *self) { #endif Py_CLEAR(gen->gi_name); Py_CLEAR(gen->gi_qualname); + Py_CLEAR(gen->gi_modulename); return 0; } |