]> 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:42 +0000 (00:41 -0700)
committerGitHub <noreply@github.com>
Fri, 21 Sep 2018 07:41:42 +0000 (00:41 -0700)
commitf37496e893d743dbd01c802c8e8cdc16498a1604
treee762bfcc17cb55dc0cf3a4144e6e503873a87aa5
parent71a9c65e74a70b6ed39adc4ba81d311ac1aa2acc
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