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

Commit 26182ced authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian
Browse files

slimbus: slim-msm-ngd: Fix a memory leak in error handling



In one of the error handling scenarios during probe, slimbus NGD driver
does not release the memory allocated prior to the error scenario.

Fix the memory leak by freeing any prior memory allocation during an error.

CRs-Fixed: 2002163
Change-Id: I2f718637d0d3cee2b110baed74f2b9bf479aa144
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent 6e2dd80b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment