Fix crash in hv_undef
authorFather Chrysostomos <sprout@cpan.org>
Tue, 10 Jan 2012 06:18:56 +0000 (22:18 -0800)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 10 Jan 2012 06:18:56 +0000 (22:18 -0800)
commit8505eec04db975056f12e93f306696ee3bf089ad
tree193c6e43b34dda8501bd203afe08340030ec96ae
parent2537c17b0fdedb3e9b4301852ab5f7e7d6e38f19
Fix crash in hv_undef

Commit 60edcf09a was supposed to make things less buggy, but putting
the ENTER/LEAVE in h_freeentries was a mistake, as both hv_undef and
hv_clear still access the hv after calling h_freeentries.  Why it
didn’t crash for me is anyone’s guess.
hv.c