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

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

Merge "crypto: Fix memory leak in bam_release call"

parents ebe37e47 8d175c9d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2618,9 +2618,8 @@ static void qce_sps_release_bam(struct qce_device *pce_dev)
	pr_debug("delete bam 0x%x\n", pbam->bam_mem);
	list_del(&pbam->qlist);
	kfree(pbam);

ret:
	pce_dev->pbam = NULL;
ret:
	mutex_unlock(&bam_register_lock);
}