diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-30 00:38:32 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-12-30 00:38:32 +0000 |
commit | 9692f7e7da6d0e69b8995374e7ea7d5f6bd54236 (patch) | |
tree | 390600aa8ffa8cfd271a8e9a15882bc4631c0caa /hv.c | |
parent | c9bc2bba40c7aed51d58b598de970d52e4fa61e1 (diff) | |
download | perl-9692f7e7da6d0e69b8995374e7ea7d5f6bd54236.tar.gz |
(Retracted by #8261). (Unsuccessful memory access tweaks.)
p4raw-id: //depot/perl@8261
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1225,7 +1225,8 @@ Perl_hv_undef(pTHX_ HV *hv) return; xhv = (XPVHV*)SvANY(hv); hfreeentries(hv); - Safefree(xhv->xhv_array); + if (xhv->xhv_array) + Safefree(xhv->xhv_array); if (HvNAME(hv)) { Safefree(HvNAME(hv)); HvNAME(hv) = 0; |