This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
assert that HvARRAY is NULL when freeing an HV
authorDavid Mitchell <davem@iabyn.com>
Tue, 3 May 2011 16:10:46 +0000 (17:10 +0100)
committerDavid Mitchell <davem@iabyn.com>
Thu, 19 May 2011 13:49:43 +0000 (14:49 +0100)
commitef60ac00626a1b26275244b3fa3ce49a3223baba
tree42e80eaa3562f90d39036d7852c5c9cd7ee55f64
parent922090f40453dfe5bae918350f2513dc53fa3aba
assert that HvARRAY is NULL when freeing an HV

The code path that leads to HvAUX being empty and thus HvARRAY being
freed, is non-obvious: so put in an assert against any future failure.
sv.c