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

Greg KH greg at kroah.com
Wed Feb 23 22:05:33 UTC 2011


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 at broadcom.com>
> Cc: Henry Ptasinski <henryp at broadcom.com>
> Cc: linux-wireless at vger.kernel.org
> Cc: devel at driverdev.osuosl.org
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Stefan Weil <weil at mail.berlios.de>
> ---
>  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



More information about the devel mailing list