diff options
Diffstat (limited to 'av.c')
-rw-r--r-- | av.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -305,6 +305,10 @@ register AV *av; AvALLOC(av) = 0; SvPVX(av) = 0; AvMAX(av) = AvFILL(av) = -1; + if (AvARYLEN(av)) { + SvREFCNT_dec(AvARYLEN(av)); + AvARYLEN(av) = 0; + } } void |