lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Memory leak in udp_send() (lwip v1.1.0)


From: Leon Woestenberg
Subject: Re: [lwip-users] Memory leak in udp_send() (lwip v1.1.0)
Date: Fri, 03 Jun 2005 10:46:47 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]