diff options
author | INADA Naoki <songofacandy@gmail.com> | 2016-12-26 09:52:46 (GMT) |
---|---|---|
committer | INADA Naoki <songofacandy@gmail.com> | 2016-12-26 09:52:46 (GMT) |
commit | 9c15776face20bfab7870aa7bd536362539ff025 (patch) | |
tree | b8e54c0301dad93e4dd4f7b45f39b1b36bc9622a /Python/ceval.c | |
parent | 6a3cedf8dd4ab85e426ce472974892d5c6804c16 (diff) | |
download | cpython-9c15776face20bfab7870aa7bd536362539ff025.zip cpython-9c15776face20bfab7870aa7bd536362539ff025.tar.gz cpython-9c15776face20bfab7870aa7bd536362539ff025.tar.bz2 |
Issue #29049: Remove unnecessary Py_DECREF
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index 08fc27f..5519ac7 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -4153,9 +4153,9 @@ _PyEval_EvalCodeWithName(PyObject *_co, PyObject *globals, PyObject *locals, gen = PyGen_NewWithQualName(f, name, qualname); } if (gen == NULL) { - Py_DECREF(f); return NULL; } + _PyObject_GC_TRACK(f); if (is_coro && coro_wrapper != NULL) { |