diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-01-11 13:35:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-11 13:35:14 (GMT) |
commit | 5485085b324a45307c1ff4ec7d85b5998d7d5e0d (patch) | |
tree | a1183c6a4bec97b23d427ed6425603e3db5ff4c2 /Modules/clinic/audioop.c.h | |
parent | fd7d539be3ce1cc098a4f104b7a7816ca00add16 (diff) | |
download | cpython-5485085b324a45307c1ff4ec7d85b5998d7d5e0d.zip cpython-5485085b324a45307c1ff4ec7d85b5998d7d5e0d.tar.gz cpython-5485085b324a45307c1ff4ec7d85b5998d7d5e0d.tar.bz2 |
bpo-32710: Fix _overlapped.Overlapped memory leaks (GH-11489)
Fix memory leaks in asyncio ProactorEventLoop on overlapped operation
failures.
Changes:
* Implement the tp_traverse slot in the _overlapped.Overlapped type
to help to break reference cycles and identify referrers in the
garbage collector.
* Always clear overlapped on failure: not only set type to
TYPE_NOT_STARTED, but release also resources.
Diffstat (limited to 'Modules/clinic/audioop.c.h')
0 files changed, 0 insertions, 0 deletions