]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 21 Sep 2018 07:41:50 +0000 (00:41 -0700)
committerGitHub <noreply@github.com>
Fri, 21 Sep 2018 07:41:50 +0000 (00:41 -0700)
commit975f3cb1f25406a9be019906227d53b23852f415
treec31e1021ead85f03381673fba5db4f447efabaf5
parentef4306b24c9034d6b37bb034e2ebe82e745d4b77
bpo-34735: Fix a memory leak in Modules/timemodule.c (GH-9418)

There was a missing PyMem_Free(format) in time_strftime().
(cherry picked from commit 91e6c8717b7dcbcc46b189509de5f2d335819f37)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Misc/NEWS.d/next/Core and Builtins/2018-09-19-06-57-34.bpo-34735.-3mrSJ.rst [new file with mode: 0644]
Modules/timemodule.c