[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4F8BB735.4040409@qca.qualcomm.com>
Date: Mon, 16 Apr 2012 09:07:49 +0300
From: Kalle Valo <kvalo@....qualcomm.com>
To: Jesper Juhl <jj@...osbits.net>
CC: <linux-wireless@...r.kernel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Robert Love <rlove@...gle.com>,
"John W. Linville" <linville@...driver.com>,
ath6kl-devel <ath6kl-devel@...lcomm.com>
Subject: Re: [PATCH] ath6kl: fix memory leak in ath6kl_fwlog_block_read()
On 04/11/2012 11:41 PM, Jesper Juhl wrote:
> If, in
> drivers/net/wireless/ath/ath6kl/debug.c::ath6kl_fwlog_block_read(),
> the call to wait_for_completion_interruptible() returns -ERESTARTSYS
> then we'll return without freeing the (as yet unused) memory we
> allocated for 'buf' - thus leaking it.
>
> Signed-off-by: Jesper Juhl <jj@...osbits.net>
Thanks, applied to ath6kl.git.
Kalle
--
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