mei: free me client references on host init
Fx fixes leak introduced by:
commit b7d8851455
("mei: revamp me clients list handling")
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ed99d846f1
commit
b43baf694f
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user