projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
No more late changes, dammit
[p5sagit/p5-mst-13.2.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;
}