[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150817234628.GK5558@mwanda>
Date: Tue, 18 Aug 2015 02:46:28 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Raphaël Beamonte <raphael.beamonte@...il.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rachel Kim <rachel.kim@...el.com>,
Dean Lee <dean.lee@...el.com>,
Chris Park <chris.park@...el.com>, devel@...verdev.osuosl.org,
linux-wireless@...r.kernel.org, Johnny Kim <johnny.kim@...el.com>,
linux-kernel@...r.kernel.org, Arend van Spriel <arend@...adcom.com>
Subject: Re: [PATCHv3] staging: wilc1000: replace MALLOC_WILC_BUFFER() macro
to avoid possible memory leak
On Mon, Aug 17, 2015 at 07:12:47PM -0400, Raphaël Beamonte wrote:
> The MALLOC_WILC_BUFFER() macro was using a return statement, and didn't
> take care of possible memory leaks and subsequent bugs when it was failing
> after succeeding some allocations. This patch corrects this behavior.
>
> Signed-off-by: Raphaël Beamonte <raphael.beamonte@...il.com>
> ---
Yes. This looks good now.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists