mdns: fix memory free issue when repeating the query in reply
The repeated query will be copied in the next event loop while the memory is freed instantly. Delay the free to fix this issue.
This commit is contained in:
@@ -299,6 +299,7 @@ typedef struct mdns_out_question_s {
|
||||
const char * service;
|
||||
const char * proto;
|
||||
const char * domain;
|
||||
bool own_dynamic_memory;
|
||||
} mdns_out_question_t;
|
||||
|
||||
typedef struct mdns_out_answer_s {
|
||||
|
||||
Reference in New Issue
Block a user