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

Skip to content
Commit 126bd077 authored by Tharun Raj Soma's avatar Tharun Raj Soma Committed by Gerrit - the friendly Code Review server
Browse files

drm/msm/dsi-staging: fix memory leak issue in get modes call



There is a potential memory leak if display get modes gets
called multiple times. This change avoids allocating new modes
if any previously probed modes are present.

Change-Id: Ia027d93204605b80f071609c896ccdf9a87d52ce
Signed-off-by: default avatarTharun Raj Soma <tsoma@codeaurora.org>
Signed-off-by: default avatarSandeep Panda <spanda@codeaurora.org>
parent 5c9aac86
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