diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-11-18 09:53:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-18 09:53:45 (GMT) |
commit | 7538e7f5696408fa0aa02fce8a413a7dfac76a04 (patch) | |
tree | 80987d19e109f6f6f544972cfdfd415b3248372b /Lib/tty.py | |
parent | 3938fd60c0c88891b213097380aeea91a45bcd77 (diff) | |
download | cpython-7538e7f5696408fa0aa02fce8a413a7dfac76a04.zip cpython-7538e7f5696408fa0aa02fce8a413a7dfac76a04.tar.gz cpython-7538e7f5696408fa0aa02fce8a413a7dfac76a04.tar.bz2 |
gh-67877: Fix memory leaks in terminated RE matching (GH-126840)
If SRE(match) function terminates abruptly, either because of a signal
or because memory allocation fails, allocated SRE_REPEAT blocks might
be never released.
Co-authored-by: <wjssz@users.noreply.github.com>
Diffstat (limited to 'Lib/tty.py')
0 files changed, 0 insertions, 0 deletions