]> granicus.if.org Git - python/commit
bpo-36763: Fix Py_SetStandardStreamEncoding() (GH-13028)
authorVictor Stinner <vstinner@redhat.com>
Tue, 30 Apr 2019 23:36:13 +0000 (01:36 +0200)
committerGitHub <noreply@github.com>
Tue, 30 Apr 2019 23:36:13 +0000 (01:36 +0200)
commit463b82a3efe8a6a9f3924a5b37482e961dffe3b8
treea6d89da885ec7dd2eddd1eea2ec3b8334fe08ee0
parent0df635c7f8aa69e56a092bd4f142f0f164741ab2
bpo-36763: Fix Py_SetStandardStreamEncoding() (GH-13028)

Fix memory leak in Py_SetStandardStreamEncoding(): release memory
if the function is called twice.
Misc/NEWS.d/next/C API/2019-05-01-00-42-08.bpo-36763.vghb86.rst [new file with mode: 0644]
Python/coreconfig.c