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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
the improved -DT output of #23325 could print an uninit stack value
[perl5.git]
/
av.c
diff --git
a/av.c
b/av.c
index
3eaeea8
..
b616a20
100644
(file)
--- a/
av.c
+++ b/
av.c
@@
-864,6
+864,8
@@
Perl_av_delete(pTHX_ AV *av, I32 key, I32 flags)
SvREFCNT_dec(sv);
sv = Nullsv;
}
+ else if (AvREAL(av))
+ sv = sv_2mortal(sv);
return sv;
}