Return-path: Received: from mail-io0-f171.google.com ([209.85.223.171]:33276 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761188AbcAKQmh convert rfc822-to-8bit (ORCPT ); Mon, 11 Jan 2016 11:42:37 -0500 MIME-Version: 1.0 In-Reply-To: <1452483457-568-1-git-send-email-baijiaju1990@163.com> References: <1452483457-568-1-git-send-email-baijiaju1990@163.com> Date: Mon, 11 Jan 2016 17:42:36 +0100 Message-ID: (sfid-20160111_174323_233726_E5D7A6C7) Subject: Re: [PATCH] b43: Fix a memory leak in b43_bus_dev_ssb_init From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= To: Jia-Ju Bai Cc: Kalle Valo , Joe Perches , David Miller , =?UTF-8?Q?Michael_B=C3=BCsch?= , Johannes Berg , "linux-wireless@vger.kernel.org" , b43-dev , Network Development , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 11 January 2016 at 04:37, Jia-Ju Bai wrote: > The memory allocated by kzalloc in b43_bus_dev_ssb_init is not freed. > This patch fixes the bug by adding kfree in b43_ssb_remove. Nice. If you want somethig more to scratch your head, see "Missing b43 firmware handling" http://lists.infradead.org/pipermail/b43-dev/2014-June/003467.html -- RafaƂ