commit | 51270de91412b819f654b849db3bf92dac0a0855 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Sat Oct 13 13:28:06 2018 +0300 |
committer | Sean Paul <seanpaul@chromium.org> | Fri Nov 30 11:34:44 2018 -0500 |
tree | e5adc780902f335463812618d4cb8c35e0954217 | |
parent | 482f96324a4e08818db7d75bb12beaaea6c9561d [diff] |
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: 4f776f4511c7 ("drm/msm/gpu: Convert the GPU show function to use the GPU state") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Sean Paul <seanpaul@chromium.org>