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>
2 files changed