After tought,
I will not use the other structure I created to send trap. I first made them
thinking snmp_varbind_alloc was making the memory leak maybe because au
multitask corrupting the memory.
Thinking that I used snmp_varbind_alloc inside the tcpip thread. But since it
is protected from concurrent access, I will use snmp_varbind_alloc directly
from my other task.
I will post my example when I find it clean ;)
As for putting it in a port. I dont really know how to do that.
Alex
----- Original Message -----
From: Alexandre Malo
To: [email protected] ; lwip
Sent: Thursday, June 11, 2009 1:11 PM
Subject: Re: Re: [lwip-users] memory leak when sending snmp trap
I cant get the leak again. Im now at 60000 trap sent with out any memory leak.
I think that the value was the problem.. It's not a bug but a wrong
comprehansion from myself.
Thanks for the help! And thanks for telling me not to use LWIP outside of
tcpip thread :)
Thats bug I wond have to search later on.
Have a good day
Alexandre Malo
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users