Re: [PATCH 1/3] hp-wmi: fix rfkill memory leak on unload

From: Matthew Garrett
Date: Mon Sep 14 2009 - 07:00:06 EST


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 <corentincj@xxxxxxxxxx>

Acked-by: Matthew Garrett <mjg@xxxxxxxxxx>

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/