Compiling a negated character class can cause internal temporary sca-
lars to leak, as of v5.17.1-252-gea364ff.
(I don’t understand how v5.17.1-252-gea364ff caused it, but bisect
points to it.)
av_store(av, 0, (HAS_NONLOCALE_RUNTIME_PROPERTY_DEFINITION)
? listsv
- : &PL_sv_undef);
+ : (SvREFCNT_dec(listsv), &PL_sv_undef));
if (swash) {
av_store(av, 1, swash);
SvREFCNT_dec(cp_list);
use Config;
-plan tests => 56;
+plan tests => 57;
# run some code N times. If the number of SVs at the end of loop N is
# greater than (N-1)*delta at the end of loop 1, we've got a leak
eleak(2,0,'/[:]/');
eleak(2,0,'/[\xdf]/i');
+eleak(2,0,'s![^/]!!');
leak(2,0,sub { !$^V }, '[perl #109762] version object in boolean context');