This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
hv_free_ent: free SV as last action
authorDavid Mitchell <davem@iabyn.com>
Tue, 10 May 2011 12:52:48 +0000 (13:52 +0100)
committerDavid Mitchell <davem@iabyn.com>
Thu, 19 May 2011 13:49:43 +0000 (14:49 +0100)
commit272e8453abcb0fceb34b1464670386e03a1f55bb
treee06fc67e14ac4c401993d61552405b9b42bf1e00
parentf350200ecf1b0467f7149472cc5aeee9c4d176d1
hv_free_ent: free SV as last action

Move the freeing of the SV from near the beginning to the end of
hv_free_ent(); i.e. free the HE before the SV. Ideally, this should cause
no change in behaviour, but will make using an iterative HV freeing
scheme easier.
hv.c