summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authordgelessus <dgelessus@users.noreply.github.com>2023-01-09 10:13:04 (GMT)
committerGitHub <noreply@github.com>2023-01-09 10:13:04 (GMT)
commit837ba052672d1a5f85a46c1b6d4b6e7d192af6f3 (patch)
treecd0869c5b13a7fc35add579ac8b11f48554c23ae /Misc
parent4e544eafcb603babe0db01270bd1c6d5d0f5d6ea (diff)
downloadcpython-837ba052672d1a5f85a46c1b6d4b6e7d192af6f3.zip
cpython-837ba052672d1a5f85a46c1b6d4b6e7d192af6f3.tar.gz
cpython-837ba052672d1a5f85a46c1b6d4b6e7d192af6f3.tar.bz2
GH-81061: Fix refcount issue when returning `None` from a `ctypes.py_object` callback (#13364)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-05-13-11-37-30.bpo-36880.ZgBgH0.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-05-13-11-37-30.bpo-36880.ZgBgH0.rst b/Misc/NEWS.d/next/Library/2019-05-13-11-37-30.bpo-36880.ZgBgH0.rst
new file mode 100644
index 0000000..f653238
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-05-13-11-37-30.bpo-36880.ZgBgH0.rst
@@ -0,0 +1,2 @@
+Fix a reference counting issue when a :mod:`ctypes` callback with return
+type :class:`~ctypes.py_object` returns ``None``, which could cause crashes.