This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0328fd
)
Change 32899 missed the other double-reference count.
author
Nicholas Clark
<nick@ccl4.org>
Wed, 9 Jan 2008 11:40:12 +0000
(11:40 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Wed, 9 Jan 2008 11:40:12 +0000
(11:40 +0000)
p4raw-id: //depot/perl@32913
regexec.c
patch
|
blob
|
blame
|
history
diff --git
a/regexec.c
b/regexec.c
index
9588cdf
..
9a41f20
100644
(file)
--- a/
regexec.c
+++ b/
regexec.c
@@
-2259,7
+2259,7
@@
S_regtry(pTHX_ regmatch_info *reginfo, char **startpos)
/* so we know which PL_regex_padav element is PL_reg_curpm
when clearing up in perl_destruct() */
SvFLAGS(repointer) |= SVf_BREAK;
- av_push(PL_regex_padav,
SvREFCNT_inc_simple_NN(repointer)
);
+ av_push(PL_regex_padav,
repointer
);
PL_reg_curpm->op_pmoffset = av_len(PL_regex_padav);
PL_regex_pad = AvARRAY(PL_regex_padav);
}