summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-04-04 21:16:17 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-04-04 21:16:17 +0000
commit257c9e5b5a08bebee2d7b4f15b846e289d3cdcb8 (patch)
tree494c8504ebc646361ed1c5e5ae2ba5ee3b78fcee
parentbac4b2ad63e048350f82163026a348685ed8c235 (diff)
downloadperl-257c9e5b5a08bebee2d7b4f15b846e289d3cdcb8.tar.gz
[win32] change 866 was incomplete
p4raw-id: //depot/win32/perl@879
-rw-r--r--hv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index f35c1805e5..cb7fbfb368 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) {