mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-29 10:17:30 +02:00
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. * Original commit: espressif/esp-idf@5f244c86f2
This commit is contained in:
committed by
suren-gabrielyan-espressif
parent
4d8aec1ad3
commit
b62b4b3e25
@ -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