Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1363509 > unrolled thread

Re: b43: Fix memory leaks in b43_bus_dev_ssb_init andb43_bus_dev_bcma_init

Started byKalle Valo <kvalo@codeaurora.org>
First post2016-03-23 17:00 +0100
Last post2016-03-23 17:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: b43: Fix memory leaks in b43_bus_dev_ssb_init  andb43_bus_dev_bcma_init Kalle Valo <kvalo@codeaurora.org> - 2016-03-23 17:00 +0100

#1363509 — Re: b43: Fix memory leaks in b43_bus_dev_ssb_init andb43_bus_dev_bcma_init

FromKalle Valo <kvalo@codeaurora.org>
Date2016-03-23 17:00 +0100
SubjectRe: b43: Fix memory leaks in b43_bus_dev_ssb_init andb43_bus_dev_bcma_init
Message-ID<rfTmq-5As-5@gated-at.bofh.it>
> From: Jia-Ju Bai <baijiaju1990@163.com>
> 
> 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 <baijiaju1990@163.com>
> Acked-by: Michael Büsch <m@bues.ch>
> Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>

Thanks, applied to wireless-drivers.git.

Kalle Valo

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web