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

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

Merge "msm: camera: sensor: free allocated memory when failed"

parents 140744a3 03184707
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1279,6 +1279,7 @@ static int msm_cci_probe(struct platform_device *pdev)
	rc = msm_cci_get_clk_info(new_cci_dev, pdev);
	if (rc < 0) {
		pr_err("%s: msm_cci_get_clk_info() failed", __func__);
		kfree(new_cci_dev);
		return -EFAULT;
	}