cpython/Modules/_sre/clinic
Serhiy Storchaka 885386b4a2
[3.13] gh-67877: Fix memory leaks in terminated RE matching (GH-126840) (GH-126960)
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>
(cherry picked from commit 7538e7f569)
2024-11-18 11:26:45 +00:00
..
sre.c.h [3.13] gh-67877: Fix memory leaks in terminated RE matching (GH-126840) (GH-126960) 2024-11-18 11:26:45 +00:00