dns_message_t objects are now being handled using reference counting semantics, so now dns_message_destroy() is not called directly anymore, dns_message_detach must be called instead.