From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Garrett Subject: Re: [PATCH 1/3] hp-wmi: fix rfkill memory leak on unload Date: Mon, 14 Sep 2009 11:59:50 +0100 Message-ID: <20090914105950.GB6170@srcf.ucam.org> References: <1252925033-29696-1-git-send-email-corentincj@iksaif.net> <1252925033-29696-2-git-send-email-corentincj@iksaif.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from cavan.codon.org.uk ([93.93.128.6]:51628 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750749AbZINK74 (ORCPT ); Mon, 14 Sep 2009 06:59:56 -0400 Content-Disposition: inline In-Reply-To: <1252925033-29696-2-git-send-email-corentincj@iksaif.net> Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Corentin Chary Cc: linux-acpi@vger.kernel.org, linux-kernel , Julia Lawall , Alan Jenkins , Johannes Berg On Mon, Sep 14, 2009 at 12:43:51PM +0200, Corentin Chary wrote: > rfkill_unregister() should always be followed by rfkill_destroy() > In this case, rfkill_destroy was called two times on wifi_rfkill and > never on bluetooth_rfkill. > > Signed-off-by: Corentin Chary Acked-by: Matthew Garrett -- Matthew Garrett | mjg59@srcf.ucam.org