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

Commit 51270de9 authored by Dan Carpenter's avatar Dan Carpenter Committed by Sean Paul
Browse files

drm/msm/gpu: Fix a couple memory leaks in debugfs



The msm_gpu_open() function should free "show_priv" on error or it
causes static checker warnings.

Fixes: 4f776f45 ("drm/msm/gpu: Convert the GPU show function to use the GPU state")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
parent 482f9632
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