lwIP - A Lightweight TCP/IP stack - Bugs: bug #24480, Unreleased memory in DHCP
You are not allowed to post comments on this tracker with your current authentication level.
bug #24480: Unreleased memory in DHCP
Submitter: | Benjamin Silvestre <bsilvestre> | ||
Submitted: | Tue 07 Oct 2008 05:35:13 PM UTC | ||
Category: | None | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | goldsimon |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | 1.3.0 |
Wed 11 Feb 2009 08:28:33 PM UTC, comment #2: |
Simon Goldschmidt <goldsimon> |
Wed 11 Feb 2009 07:18:53 PM UTC, comment #1: Sorry it took so long to react, but out of interest, why doesn't calling dhcp_stop before restarting fix the problem? The only thing dhcp_stop really does is deallocating the udp_pcb and freeing the struct dhcp...
|
Simon Goldschmidt <goldsimon> |
Tue 07 Oct 2008 05:35:13 PM UTC, original submission:
I use the atmel's avr32 port.
|
Benjamin Silvestre <bsilvestre> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2009-02-11 | goldsimon | Status | None | Fixed | |
Assigned to | None | goldsimon | |||
Open/Closed | Open | Closed | |||
2008-10-07 | bsilvestre | Attached File | - | Added dhcp_diff, #16625 |
Powered by Savane 3.13-4b48.
Corresponding source code
Ah hell, I've checked in something like the fix you suggested: it is an 'externally' visible part of the API and open to wrong usage, so it's only fair to protect users from memory leaks (even when using the API in a sligthly wrong way).