an assert in av_undef was leaking memory
Dave Mitchell [Sun, 16 Oct 2005 17:46:10 +0000 (17:46 +0000)]
p4raw-id: //depot/perl@25771

av.c

diff --git a/av.c b/av.c
index 2b28223..f2afa82 100644 (file)
--- a/av.c
+++ b/av.c
@@ -502,8 +502,6 @@ Perl_av_undef(pTHX_ register AV *av)
     AvALLOC(av) = 0;
     SvPV_set(av, (char*)0);
     AvMAX(av) = AvFILLp(av) = -1;
-    /* It's in magic - it must already be gone.  */
-    assert (!AvARYLEN(av));
 }
 
 /*