diff options
Diffstat (limited to 'av.c')
-rw-r--r-- | av.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -864,6 +864,8 @@ Perl_av_delete(pTHX_ AV *av, I32 key, I32 flags) SvREFCNT_dec(sv); sv = Nullsv; } + else + sv = sv_2mortal(sv); return sv; } |