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

Skip to content
Commit 9c4a9740 authored by Nirmal Abraham's avatar Nirmal Abraham
Browse files

fbdev: msm: Handle rotator init failure correctly



In case 'mdss_rotator_req_init' function fails, the
error handling code frees the 'req' struct which
is not yet allocated. Correct this error scenario
by freeing the 'req' struct only for cases where it
is already allocated.

Change-Id: If9089c59497fef628528e6a462eb5a4699453214
Signed-off-by: default avatarNirmal Abraham <nabrah@codeaurora.org>
parent bc4eb225
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