Project

General

Profile

« Previous | Next » 

Revision 01bfd1a2

Added by peterzhu2118 (Peter Zhu) almost 2 years ago

Fix memory leak in OnigRegion when match raises

[Bug #20228]

rb_reg_onig_match can raise a Regexp::TimeoutError, which would cause
the OnigRegion to leak.