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

Skip to content
Commit 621a8b52 authored by Sultanxda's avatar Sultanxda Committed by Bernhard Thoben
Browse files

mdss: livedisplay: Fix memory leaks in mdss_livedisplay_update()

parse_dsi_cmds() allocates two blocks of memory and stores their addresses
in a stack-allocated variable, but they are never freed, so when the
function exits, all references to them are gone.

Free the allocated memory after using it in order to fix the memory leaks.

Change-Id: Ie574848e2429167fc38ed39975feb3df68ed2aed
parent 9a3767ea
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