It should have such a function, and I think it does, idn_freeBloody hell !!
Is it unreasonable of me to have expected this to be documented in 'libidn.info' (which is distributed with the libidn source) ?
Anyway,
Anonymous Monk, you're right (as always :-) ... and I thank you for detecting this.
Cheers,
Rob