cpython/Modules/_ctypes
Miss Islington (bot) 5624bf9758
[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 579c5b496b)

Signed-off-by: Yongtao Huang <yongtaoh2022@gmail.com>
Co-authored-by: Yongtao Huang <yongtaoh2022@gmail.com>
2025-12-25 19:09:39 +02:00
..
clinic [3.13] gh-119661: Add _Py_SINGLETON() include in Argumenet Clinic (#119712) (#119716) 2024-05-29 10:32:00 +00:00
_ctypes.c [3.13] gh-143145: Fix possible reference leak in ctypes _build_result() (GH-143131) (GH-143170) 2025-12-25 19:09:39 +02:00
_ctypes_test.c [3.13] Remove unreachable break statements in _ctypes_test.c (GH-140585) (#140588) 2025-10-25 18:39:54 +03:00
_ctypes_test.h
callbacks.c [3.13] gh-129502: Fix handling errors in ctypes callbacks (GH-129504) (#129517) 2025-02-04 00:05:51 +00:00
callproc.c [3.13] GH-132417: ctypes: Fix potential Py_DECREF(NULL) when handling functions returning PyObject * (GH-132418) (#132425) 2025-04-12 09:14:07 +00:00
cfield.c gh-117142: Port _ctypes to multi-phase init (GH-117181) 2024-04-10 11:00:01 +00:00
ctypes.h [3.13] gh-117142: Slightly hacky fix for memory leak of StgInfo (GH-119424) (GH-119468) 2024-05-30 11:24:42 +02:00
malloc_closure.c gh-108765: Python.h no longer includes <unistd.h> (#108783) 2023-09-02 16:50:18 +02:00
stgdict.c [3.13] gh-132673: Fix a crash with zero-alignment in ctypes.Structure (#132695) 2025-04-19 14:29:05 +00:00