Skip to content
Snippets Groups Projects
Commit 7068eb65 authored by Liu Ying's avatar Liu Ying Committed by Jason Liu
Browse files

MLK-16302-1 drm/imx: dpu: plane: Free dpu_plane when bailout from dpu_plane_init


The dpu_plane is allocated with kzalloc() in dpu_plane_init().
In case, dpu_plane_init() fails after that allocation, the bailout path
should free the dpu_plane, otherwise, there will be memory leakage.

Signed-off-by: default avatarLiu Ying <victor.liu@nxp.com>
parent 8e83cc1f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment