diff options
author | Victor Stinner <vstinner@python.org> | 2024-09-18 22:11:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 22:11:50 (GMT) |
commit | 43cd7aa8cd88624f7211e47b98bc1e8e63e7660f (patch) | |
tree | 2281a676a2346988f7ec70f9884c322ac245212e /Python/pathconfig.c | |
parent | ea7fe1fe2e162f2375562467ad834c6224a62daf (diff) | |
download | cpython-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/pathconfig.c')
0 files changed, 0 insertions, 0 deletions