projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
sv_clear can manipulate the arena array directly too.
[p5sagit/p5-mst-13.2.git]
/
pp_hot.c
diff --git
a/pp_hot.c
b/pp_hot.c
index
24af67e
..
813b606
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-1909,7
+1909,7
@@
PP(pp_iter)
}
}
- if (sv && SvREFCNT(sv) == 0) {
+ if (sv && SvIS_FREED(sv)) {
*itersvp = Nullsv;
Perl_croak(aTHX_ "Use of freed value in iteration");
}