Hi Chaoxing, I pushed a fix for the memory leak you reported, and a couple more I found while looking for leaks. Let's see if we can together plug any remaining leaks.
Thanks! Javier On Fri, Apr 12, 2013 at 6:16 AM, Chaoxing Lin <[email protected]>wrote: > To clarify, the potential memory leak at the error cases are not the cause > of the 120KB memory usage increase every 30 minutes. > There must be other places that caused memory leak. > > From: Chaoxing Lin > Sent: Thursday, April 11, 2013 1:44 PM > To: '[email protected]' > Subject: Authsae: meshd-nl80211 memory leak > > In my test bed of 10 mesh points, I see about 120K bytes memory usage > increase every 30 minutes(my tool monitoring interval). > > I found a few places that memory is not freed in error cases. > 1. File ampe.c : function check_frame_protection(): the 3 error returns > don't free memory allocated to clear_ampe_ie. > 2. File linux/meshd-nl80211.c: All functions that does "msg = > nlmsg_alloc()", on error path "goto nla_put_failure" don't free msg. > > _______________________________________________ > Devel mailing list > [email protected] > http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel > -- Javier Cardona cozybit Inc. http://www.cozybit.com
_______________________________________________ Devel mailing list [email protected] http://lists.open80211s.org/cgi-bin/mailman/listinfo/devel
