lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] memory leak in ethernetif_init()


From: M . Duckeck
Subject: [lwip-users] memory leak in ethernetif_init()
Date: Tue, 24 May 2011 13:12:59 +0200

Hi,

in ethernetif_init() of lwIP 1.4.0 in the file ethernetif.c there is 
memory allocated for the struct ethernetif and assigned to netif->state. 
This data is never used in the lwip stack and not freed in netif_remove().
I think this malloc and assignment should be removed.


regards
Mathias





reply via email to

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