From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Wed, 9 Nov 2011 02:00:05 +0800 References: <1320262005-15120-1-git-send-email-siwu@hrz.tu-chemnitz.de> <20111108175041.GA8405@ritirata.org> In-Reply-To: <20111108175041.GA8405@ritirata.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201111090200.05627.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCHv2] batman-adv: check return value for hash_add() Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Wednesday, November 09, 2011 01:50:42 Antonio Quartulli wrote: > 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 > > Acked-by Antonio Quartulli Applied in revision c2e935f. Thanks, Marek