Skip to content

Commit

Permalink
feat(mdns): fix bug when clean action memory
Browse files Browse the repository at this point in the history
  • Loading branch information
lhespress committed Sep 14, 2018
1 parent 773fb42 commit 3d4deb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mdns/mdns.c
Original file line number Diff line number Diff line change
Expand Up @@ -3565,7 +3565,7 @@ static void _mdns_free_action(mdns_action_t * action)
free(action->data.srv_instance.instance);
break;
case ACTION_SERVICE_TXT_REPLACE:
free(action->data.srv_txt_replace.txt);
_mdns_free_linked_txt(action->data.srv_txt_replace.txt);
break;
case ACTION_SERVICE_TXT_SET:
free(action->data.srv_txt_set.key);
Expand Down

0 comments on commit 3d4deb9

Please sign in to comment.