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
Signed-off-by:
Sultanxda <sultanxda@gmail.com>
Loading
Please register or sign in to comment