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

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

Merge "soc: qcom: service-locator: Free memory in case of error" into msm-4.9

parents c3d7c41c 04fe6abe
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -378,6 +378,7 @@ int get_service_location(char *client_name, char *service_name,
	if (!pqw) {
		rc = -ENOMEM;
		pr_err("Allocation failed\n");
		kfree(pqcd);
		goto err;
	}
	pqw->notifier = locator_nb;