]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35720: Fixing a memory leak in pymain_parse_cmdline_impl() (GH-11528)
authorLucas Cimon <lucas.cimon@gmail.com>
Tue, 22 Jan 2019 16:15:01 +0000 (17:15 +0100)
committerVictor Stinner <vstinner@redhat.com>
Tue, 22 Jan 2019 16:15:01 +0000 (17:15 +0100)
commit35ca1820e19f81f69073f294503cdcd708fe490f
treedc3490038e5a61ae9dfd27d9f9e4e04f3a30fa12
parent9932a22897ef9905161dac7476e6976370e13515
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.
Misc/NEWS.d/next/Core and Builtins/2019-01-12-23-33-04.bpo-35720.LELKQx.rst [new file with mode: 0644]
Modules/main.c