Commit 9c15776f authored by INADA Naoki's avatar INADA Naoki

Issue #29049: Remove unnecessary Py_DECREF

parent 6a3cedf8
......@@ -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) {
......
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