mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.13] GH-128161: Fix refleak introduced in GH-134788 (GH-134799)
This commit is contained in:
parent
d6e4786937
commit
c6af7f4bf7
1 changed files with 3 additions and 1 deletions
|
@ -5811,7 +5811,9 @@ compiler_comprehension(struct compiler *c, expr_ty e, int type,
|
|||
|
||||
outermost = (comprehension_ty) asdl_seq_GET(generators, 0);
|
||||
if (is_inlined) {
|
||||
VISIT(c, expr, outermost->iter);
|
||||
if (compiler_visit_expr(c, outermost->iter) < 0) {
|
||||
goto error;
|
||||
}
|
||||
if (push_inlined_comprehension_state(c, loc, entry, &inline_state)) {
|
||||
goto error;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue