diff options
Diffstat (limited to 'lang/perl5.14/files/patch-bug59516')
-rw-r--r-- | lang/perl5.14/files/patch-bug59516 | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/perl5.14/files/patch-bug59516 b/lang/perl5.14/files/patch-bug59516 new file mode 100644 index 000000000000..572c96e63d3c --- /dev/null +++ b/lang/perl5.14/files/patch-bug59516 @@ -0,0 +1,16 @@ +# http://rt.perl.org/rt3/Public/Bug/Display.html?id=59516 +# http://perl5.git.perl.org/perl.git/commitdiff/b023a8eeff463528d4a2b46396f79056c0ef9677?hp=a954f6ee3112c0edfbc59783d1b424d995122784 +diff --git a/regcomp.c b/regcomp.c +index 54347cc..68cc58c 100644 +--- regcomp.c ++++ regcomp.c +@@ -8350,6 +8350,9 @@ parseit: + *STRING(ret)= (char)value; + STR_LEN(ret)= 1; + RExC_emit += STR_SZ(1); ++ if (listsv) { ++ SvREFCNT_dec(listsv); ++ } + return ret; + } + /* optimize case-insensitive simple patterns (e.g. /[a-z]/i) */ |