summaryrefslogtreecommitdiffstats
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-09-18 22:11:50 (GMT)
committerGitHub <noreply@github.com>2024-09-18 22:11:50 (GMT)
commit43cd7aa8cd88624f7211e47b98bc1e8e63e7660f (patch)
tree2281a676a2346988f7ec70f9884c322ac245212e /Python/formatter_unicode.c
parentea7fe1fe2e162f2375562467ad834c6224a62daf (diff)
downloadcpython-43cd7aa8cd88624f7211e47b98bc1e8e63e7660f.zip
cpython-43cd7aa8cd88624f7211e47b98bc1e8e63e7660f.tar.gz
cpython-43cd7aa8cd88624f7211e47b98bc1e8e63e7660f.tar.bz2
gh-120754: Fix memory leak in FileIO.__init__() (#124225)
Free 'self->stat_atopen' before assigning it, since io.FileIO.__init__() can be called multiple times manually (especially by test_io).
Diffstat (limited to 'Python/formatter_unicode.c')
0 files changed, 0 insertions, 0 deletions