Hdt memleak

This branch is providing a old fix on hdt I forgot to integrate + a warning fix on acpi.