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

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

Merge "Revert "crypto: Fix memory leak in bam_release call""

parents b0a19d15 ea5ec1f1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2618,8 +2618,9 @@ 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);
	pce_dev->pbam = NULL;

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