mdsn: fix race condition in updating packet data from user task when failed to allocate or queue a new service
mdsn: fix race condition in updating packet data from user task when failed to allocate or queue a new service

Issue: mdns_service_add API allocates and queues an action to be processed in mdns task context; when allocation or queueing fails, allocated structure needs to be freed. Function _mdns_free_service did not only fee all the structures, but also updates packet data.
Resolution: Moved removal of packet data outside of _mdns_free_service function.

espressif/esp-idf,espressif/esp-idf,espressif/esp-idf,espressif/esp-idf