Skip to content

Commit c776624

Browse files
authored
GH-87849: Fix refleak in SEND instruction. (GH-101908)
Fix refleak in SEND instruction.
1 parent e8b6aaa commit c776624

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Python/bytecodes.c

+1
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ dummy_func(
727727
else {
728728
assert(retval != NULL);
729729
}
730+
Py_DECREF(v);
730731
}
731732

732733
inst(SEND_GEN, (unused/1, receiver, v -- receiver)) {

Python/generated_cases.c.h

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)