SIGN IN SIGN UP

[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 7538e7f5696408fa0aa02fce8a413a7dfac76a04)
S
Serhiy Storchaka committed
885386b4a258caa6bdca6b7cc6db2f2d2dd2987d
Parent: 2b2ad24
Committed by GitHub <noreply@github.com> on 11/18/2024, 11:26:45 AM