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.45F8E615D5@smtp.codeaurora.org> References: <1457716477-6287-1-git-send-email-sudipm.mukherjee@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0614158801427239973==" Cc: netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Jia-Ju Bai , b43-dev-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, =?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> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "b43-dev" Errors-To: b43-dev-bounces+gldbd-bcm43xx-dev=gmane.org-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: netdev.vger.kernel.org --===============0614158801427239973== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8bit > From: Jia-Ju Bai > > 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. > > Thanks Michael for his suggestion. > > Signed-off-by: Jia-Ju Bai > Acked-by: Michael Büsch > Signed-off-by: Sudip Mukherjee Thanks, applied to wireless-drivers.git. Kalle Valo --===============0614158801427239973== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ b43-dev mailing list b43-dev-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org http://lists.infradead.org/mailman/listinfo/b43-dev --===============0614158801427239973==--