projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12754f9
)
No, it's not a const SV* if we subsequently call
author
Marcus Holland-Moritz
<mhx-perl@gmx.net>
Sun, 26 Oct 2008 22:20:48 +0000
(22:20 +0000)
committer
Marcus Holland-Moritz
<mhx-perl@gmx.net>
Sun, 26 Oct 2008 22:20:48 +0000
(22:20 +0000)
SvREFCNT_dec() on it.
p4raw-id: //depot/perl@34600
pad.c
patch
|
blob
|
history
diff --git
a/pad.c
b/pad.c
index
1dbdb72
..
9f6e764
100644
(file)
--- a/
pad.c
+++ b/
pad.c
@@
-317,7
+317,7
@@
Perl_pad_undef(pTHX_ CV* cv)
ix = AvFILLp(padlist);
while (ix >= 0) {
-
const
SV* const sv = AvARRAY(padlist)[ix--];
+ SV* const sv = AvARRAY(padlist)[ix--];
if (sv) {
if (sv == (SV*)PL_comppad_name)
PL_comppad_name = NULL;