summaryrefslogtreecommitdiff
path: root/av.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>1998-01-13 22:55:02 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>1998-01-13 22:55:02 +0000
commit1393e20655efb4bcc2062605bfe887dd5e634bc1 (patch)
tree0bd8c4701b965a4afe3e2876808255d0b1743562 /av.c
parentab3c85350aa85d8f47cd7983fff31f525e769c31 (diff)
downloadperl-1393e20655efb4bcc2062605bfe887dd5e634bc1.tar.gz
tiearray tweaks
p4raw-id: //depot/ansiperl@420
Diffstat (limited to 'av.c')
-rw-r--r--av.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/av.c b/av.c
index 45d4628fef..e715d10b63 100644
--- a/av.c
+++ b/av.c
@@ -364,6 +364,7 @@ av_undef(register AV *av)
SvREFCNT_dec(AvARRAY(av)[--key]);
}
Safefree(AvALLOC(av));
+ AvARRAY(av) = 0;
AvALLOC(av) = 0;
SvPVX(av) = 0;
AvMAX(av) = AvFILLp(av) = -1;