Closed jalpanparekh closed 3 years ago
Hi,
We have found memory leak in Event Handler Function fn() in mqtt_server.c. Where mg_strdup() function allocate memory and didn't release it for sub->topic.ptr.
Can you please confirm once if I misunderstood.
Thanks, Jalpan Parekh
Thank you for reporting.
I also check.
I fixed a memory leak in the latest version.
Thanks for the quick reply. I will check your latest patch.
Hi,
We have found memory leak in Event Handler Function fn() in mqtt_server.c. Where mg_strdup() function allocate memory and didn't release it for sub->topic.ptr.
Can you please confirm once if I misunderstood.
Thanks, Jalpan Parekh