Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9eed3ab authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: msm_bus: fix the memory leak issue"

parents 2afb6181 152a3141
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -1351,6 +1351,7 @@ static void unregister_adhoc(struct msm_bus_client_handle *cl)
				cl->first_hop, cl->active_only);
				cl->first_hop, cl->active_only);
	commit_data();
	commit_data();
	msm_bus_dbg_remove_client(cl);
	msm_bus_dbg_remove_client(cl);
	kfree(cl->name);
	kfree(cl);
	kfree(cl);
exit_unregister_client:
exit_unregister_client:
	rt_mutex_unlock(&msm_bus_adhoc_lock);
	rt_mutex_unlock(&msm_bus_adhoc_lock);