Skip to content

Commit 81c219d

Browse files
feat(mdns): fix bug when clean action memory
* Original commit: espressif/esp-idf@3d4deb9
1 parent 0c17121 commit 81c219d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/mdns/mdns.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3565,7 +3565,7 @@ static void _mdns_free_action(mdns_action_t * action)
35653565
free(action->data.srv_instance.instance);
35663566
break;
35673567
case ACTION_SERVICE_TXT_REPLACE:
3568-
free(action->data.srv_txt_replace.txt);
3568+
_mdns_free_linked_txt(action->data.srv_txt_replace.txt);
35693569
break;
35703570
case ACTION_SERVICE_TXT_SET:
35713571
free(action->data.srv_txt_set.key);

0 commit comments

Comments
 (0)