From: Jesper Juhl Date: Wed, 11 Apr 2012 20:41:36 +0000 (+0200) Subject: ath6kl: fix memory leak in ath6kl_fwlog_block_read() X-Git-Tag: v3.5-rc1~101^2~6^2^2~84^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae9a3405fd28ce05dc3d0b51d541fd5ec742b3b4;p=pandora-kernel.git ath6kl: fix memory leak in ath6kl_fwlog_block_read() 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 Signed-off-by: Kalle Valo --- Reading git-diff-tree failed