[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 08 Aug 2012 16:04:28 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ordex@...istici.org
Cc: jj@...osbits.net, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, b.a.t.m.a.n@...ts.open-mesh.org,
siwu@....tu-chemnitz.de, lindner_marek@...oo.de
Subject: Re: [PATCH] batman-adv: Fix mem leak in the
batadv_tt_local_event() function
From: Antonio Quartulli <ordex@...istici.org>
Date: Tue, 7 Aug 2012 20:50:36 +0200
> On Tue, Aug 07, 2012 at 08:32:34PM +0200, Jesper Juhl wrote:
>> Memory is allocated for 'tt_change_node' with kmalloc().
>> 'tt_change_node' may go out of scope really being used for anything
>> (except have a few members initialized) if we hit the 'del:' label.
>> This patch makes sure we free the memory in that case.
>>
>> Signed-off-by: Jesper Juhl <jj@...osbits.net>
>
> Acked-by: Antonio Quartulli <ordex@...istici.org>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists