Fx fixes leak introduced by:
commit b7d885145538 ("mei: revamp me clients list handling")

Signed-off-by: Tomas Winkler <tomas.wink...@intel.com>
---
 drivers/misc/mei/client.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c
index 98a5363e1e8a..b6fec4d15307 100644
--- a/drivers/misc/mei/client.c
+++ b/drivers/misc/mei/client.c
@@ -668,14 +668,17 @@ void mei_host_client_init(struct work_struct *work)
        me_cl = mei_me_cl_by_uuid(dev, &mei_amthif_guid);
        if (me_cl)
                mei_amthif_host_init(dev);
+       mei_me_cl_put(me_cl);
 
        me_cl = mei_me_cl_by_uuid(dev, &mei_wd_guid);
        if (me_cl)
                mei_wd_host_init(dev);
+       mei_me_cl_put(me_cl);
 
        me_cl = mei_me_cl_by_uuid(dev, &mei_nfc_guid);
        if (me_cl)
                mei_nfc_host_init(dev);
+       mei_me_cl_put(me_cl);
 
 
        dev->dev_state = MEI_DEV_ENABLED;
-- 
1.9.3

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

Reply via email to