Fixed a memory leak in mdns.c (mdns_apname was leaking).