SIGN IN SIGN UP

[3.14] gh-143145: Fix possible reference leak in ctypes _build_result() (GH-143131) (GH-143169)

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

Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com>
M
Miss Islington (bot) committed
88a4d0d34b7dc67f3daea57898c281439dce085d
Parent: 8a61b71
Committed by GitHub <noreply@github.com> on 12/25/2025, 5:09:53 PM