From: Gurusamy Sarathy Date: Sat, 4 Apr 1998 21:16:17 +0000 (+0000) Subject: [win32] change 866 was incomplete X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=257c9e5b5a08bebee2d7b4f15b846e289d3cdcb8;p=p5sagit%2Fp5-mst-13.2.git [win32] change 866 was incomplete p4raw-id: //depot/win32/perl@879 --- diff --git a/hv.c b/hv.c index f35c180..cb7fbfb 100644 --- a/hv.c +++ b/hv.c @@ -841,7 +841,7 @@ hv_free_ent(HV *hv, register HE *entry) if (!entry) return; val = HeVAL(entry); - if (isGV(val) && GvCVu(val) && HvNAME(hv)) + if (val && isGV(val) && GvCVu(val) && HvNAME(hv)) sub_generation++; /* may be deletion of method from stash */ SvREFCNT_dec(val); if (HeKLEN(entry) == HEf_SVKEY) {