If I write some XS code with a hash that I never expect to return to perl, do I have to free it? If so, how?
The closest I've come up with is hv_undef, but that is only clearing out the contents of the hash, not the hash itself, from what I understand.
HV* hash = newHV();
...
use the hash
...
hv_undef(hash);