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

Skip to content
Commit 611ad28f authored by Neeti Desai's avatar Neeti Desai
Browse files

msm: ocmem: Update error handling in function __sched_grow



When zone allocation fails, no region has been created. Thus
the label "internal_error" should not call destroy_region. When
create_region fails, region is NULL, thus calling destroy_region
will result in NULL pointer dereferencing.

Change-Id: Ic30fc4f6bda64e85b395f5a3a8c24b66ced6e86c
Signed-off-by: default avatarNeeti Desai <neetid@codeaurora.org>
parent 5aeba531
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