summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorLucas Cimon <lucas.cimon@gmail.com>2019-01-22 16:15:01 (GMT)
committerVictor Stinner <vstinner@redhat.com>2019-01-22 16:15:01 (GMT)
commit35ca1820e19f81f69073f294503cdcd708fe490f (patch)
treedc3490038e5a61ae9dfd27d9f9e4e04f3a30fa12 /Misc
parent9932a22897ef9905161dac7476e6976370e13515 (diff)
downloadcpython-35ca1820e19f81f69073f294503cdcd708fe490f.zip
cpython-35ca1820e19f81f69073f294503cdcd708fe490f.tar.gz
cpython-35ca1820e19f81f69073f294503cdcd708fe490f.tar.bz2
bpo-35720: Fixing a memory leak in pymain_parse_cmdline_impl() (GH-11528)
When the loop in the pymain_read_conf function in this same file calls pymain_init_cmdline_argv() a 2nd time, the pymain->command buffer of wchar_t is overriden and the previously allocated memory is never freed.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2019-01-12-23-33-04.bpo-35720.LELKQx.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-01-12-23-33-04.bpo-35720.LELKQx.rst b/Misc/NEWS.d/next/Core and Builtins/2019-01-12-23-33-04.bpo-35720.LELKQx.rst
new file mode 100644
index 0000000..9c57ebc
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2019-01-12-23-33-04.bpo-35720.LELKQx.rst
@@ -0,0 +1 @@
+Fixed a minor memory leak in pymain_parse_cmdline_impl function in Modules/main.c \ No newline at end of file