summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-04-30 23:36:13 (GMT)
committerGitHub <noreply@github.com>2019-04-30 23:36:13 (GMT)
commit463b82a3efe8a6a9f3924a5b37482e961dffe3b8 (patch)
treea6d89da885ec7dd2eddd1eea2ec3b8334fe08ee0 /Misc/NEWS.d/next/C API
parent0df635c7f8aa69e56a092bd4f142f0f164741ab2 (diff)
downloadcpython-463b82a3efe8a6a9f3924a5b37482e961dffe3b8.zip
cpython-463b82a3efe8a6a9f3924a5b37482e961dffe3b8.tar.gz
cpython-463b82a3efe8a6a9f3924a5b37482e961dffe3b8.tar.bz2
bpo-36763: Fix Py_SetStandardStreamEncoding() (GH-13028)
Fix memory leak in Py_SetStandardStreamEncoding(): release memory if the function is called twice.
Diffstat (limited to 'Misc/NEWS.d/next/C API')
-rw-r--r--Misc/NEWS.d/next/C API/2019-05-01-00-42-08.bpo-36763.vghb86.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2019-05-01-00-42-08.bpo-36763.vghb86.rst b/Misc/NEWS.d/next/C API/2019-05-01-00-42-08.bpo-36763.vghb86.rst
new file mode 100644
index 0000000..1c34920
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2019-05-01-00-42-08.bpo-36763.vghb86.rst
@@ -0,0 +1,2 @@
+Fix memory leak in :c:func:`Py_SetStandardStreamEncoding`: release memory if
+the function is called twice.