Re: [PATCH] staging: brcm80211: Fix memory leak after kmalloc failure

From: Greg KH
Date: Wed Feb 23 2011 - 17:23:52 EST


On Sun, Feb 20, 2011 at 12:29:11AM +0100, Stefan Weil wrote:
> This error was spotted by cppcheck:
>
> drivers/staging/brcm80211/phy/wlc_phy_lcn.c:4053: error: Memory leak: ptr
>
> Cc: Brett Rudley <brudley@xxxxxxxxxxxx>
> Cc: Henry Ptasinski <henryp@xxxxxxxxxxxx>
> Cc: linux-wireless@xxxxxxxxxxxxxxx
> Cc: devel@xxxxxxxxxxxxxxxxxxxx
> Cc: linux-kernel@xxxxxxxxxxxxxxx
> Signed-off-by: Stefan Weil <weil@xxxxxxxxxxxxxxx>
> ---
> drivers/staging/brcm80211/phy/wlc_phy_lcn.c | 1 +

What tree did you make this against? This file isn't in the linux-next
tree anymore.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/