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>
S
Serhiy Storchaka committed
7538e7f5696408fa0aa02fce8a413a7dfac76a04
Parent: 3938fd6
Committed by GitHub <noreply@github.com>
on 11/18/2024, 9:53:45 AM