[3.13] gh-143145: Fix possible reference leak in ctypes _build_result() (GH-143131) (GH-143170)
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
5624bf9758246cea3d40b3be70013f7d4411874d
Parent: 80f7d49
Committed by GitHub <noreply@github.com>
on 12/25/2025, 5:09:39 PM