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

Commit 86e5031a authored by Dhaval Patel's avatar Dhaval Patel
Browse files

msm: mdss: reset the skip buffer flag to avoid memory leak



Pan display path can call buffer alloc and use one of the
buffer. It will enable the skip detach enabled for that
buffer. This buffer moves to free queue when atomic api
stage next set of layers. It can lead to memory leak when
atomic API path reuse the same buffer without resetting
the detach flag. Ideally, it should be reset for each
attach call.

Change-Id: I96e2c030669539d8e5dc7205abc233ecc7118bdb
Signed-off-by: default avatarDhaval Patel <pdhaval@codeaurora.org>
parent 738fe103
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