Hoi Olaf,

Olaf Peters wrote:

I discovered a potential memory leak in the routine udp_send() in lwip.c,
line 410 and on:

...

In above code, if ip_route() didn't find a route, it returns with an error
code but doesn't free the allocated memory for the UDP header (assigned to q
above).
Is this a memory leak or do I miss something?

Good catch, thanks!

Regards,

Leon Woestenberg.


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to