Skip to content

[3.13] gh-143145: Fix possible reference leak in ctypes _build_result() (GH-143131)#143170

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-579c5b4-3.13
Dec 25, 2025
Merged

[3.13] gh-143145: Fix possible reference leak in ctypes _build_result() (GH-143131)#143170
serhiy-storchaka merged 1 commit into
python:3.13from
miss-islington:backport-579c5b4-3.13

Conversation

@miss-islington

@miss-islington miss-islington commented Dec 25, 2025

Copy link
Copy Markdown
Contributor

The result tuple was leaked if ctypes_from_outparam() failed for any item.
(cherry picked from commit 579c5b4)

Co-authored-by: Yongtao Huang yongtaoh2022@gmail.com
Signed-off-by: Yongtao Huang yongtaoh2022@gmail.com

pythonGH-143131)

The result tuple was leaked if __ctypes_from_outparam__() failed for any item.
(cherry picked from commit 579c5b4)

Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com>
Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
@serhiy-storchaka
serhiy-storchaka merged commit 5624bf9 into python:3.13 Dec 25, 2025
42 checks passed
@miss-islington
miss-islington deleted the backport-579c5b4-3.13 branch January 2, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants