Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: check return value for hash_add()

Antonio Quartulli
2011-11-08T17:50:42Z

On Wed, Nov 02, 2011 at 08:26:45 +0100, Simon Wunderlich wrote:
> if hash_add() fails, we should remove the structure to avoid memory
> leaks.
>
> Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>

Acked-by Antonio Quartulli <ordex@autistici.org>

--
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara