From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Subject: Re: b43: Fix memory leaks in b43_bus_dev_ssb_init andb43_bus_dev_bcma_init Date: Wed, 23 Mar 2016 15:51:57 +0000 (UTC) Message-ID: <20160323155157.B5F0A615D8@smtp.codeaurora.org> References: <1457716477-6287-1-git-send-email-sudipm.mukherjee@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, b43-dev-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jia-Ju Bai , =?UTF-8?q?Michael=20B=C3=BCsch?= To: Sudip Mukherjee Return-path: In-Reply-To: <1457716477-6287-1-git-send-email-sudipm.mukherjee-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org > From: Jia-Ju Bai >=20 > The memory allocated by kzalloc in b43_bus_dev_ssb_init and > b43_bus_dev_bcma_init is not freed. > This patch fixes the bug by adding kfree in b43_ssb_remove, > b43_bcma_remove and error handling code of b43_bcma_probe. >=20 > Thanks Michael for his suggestion. >=20 > Signed-off-by: Jia-Ju Bai > Acked-by: Michael B=C3=BCsch > Signed-off-by: Sudip Mukherjee Thanks, applied to wireless-drivers.git. Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireles= s" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html