Commit 086f872
pythongh-143145: Fix possible reference leak in ctypes _build_result() (pythonGH-143131)
The result tuple was leaked if __ctypes_from_outparam__() failed for any item.
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>1 parent 1c7bcf8 commit 086f872
2 files changed
Lines changed: 2 additions & 0 deletions
File tree
- Misc/NEWS.d/next/Library
- Modules/_ctypes
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4557 | 4557 | | |
4558 | 4558 | | |
4559 | 4559 | | |
| 4560 | + | |
4560 | 4561 | | |
4561 | 4562 | | |
4562 | 4563 | | |
| |||
0 commit comments