[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1475238579.17481.56.camel@sipsolutions.net>
Date: Fri, 30 Sep 2016 14:29:39 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Johannes Thumshirn <jthumshirn@...e.de>,
Solomon Peachy <pizza@...ftnet.org>,
Kalle Valo <kvalo@...eaurora.org>
Cc: linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] cw1200: Don't leak memory if krealloc failes
> + tmp = krealloc(buf->begin, size, GFP_KERNEL | GFP_DMA);
> + if (tmp) {
>
I think that check is inverted?
johannes
Powered by blists - more mailing lists