Fix free/xfree bug in adns support.