fix(mdns): Fixes case where we create our own malloc/free allocators, therefore we need to call mdns_mem_free and not free

This commit is contained in:
kevin filipe
2025-07-24 10:18:01 +02:00
parent 29f1dec408
commit 63bf70914b

View File

@ -154,7 +154,7 @@
} \
}
#define queueFree(type, queue) while (queue) { type * _q = queue; queue = queue->next; free(_q); }
#define queueFree(type, queue) while (queue) { type * _q = queue; queue = queue->next; mdns_mem_free(_q); }
#define PCB_STATE_IS_PROBING(s) (s->state > PCB_OFF && s->state < PCB_ANNOUNCE_1)
#define PCB_STATE_IS_ANNOUNCING(s) (s->state > PCB_PROBE_3 && s->state < PCB_RUNNING)