diff options
| author | Navid Emamdoost <[email protected]> | 2019-09-25 04:37:58 +0000 |
|---|---|---|
| committer | Thomas Hellstrom <[email protected]> | 2020-01-15 10:46:59 +0000 |
| commit | 40efb09a7f53125719e49864da008495e39aaa1e (patch) | |
| tree | 975d2285cb01eb94f55baf2c8c9cbf93ec2128cf /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h | |
| parent | drm/vmwgfx: drop DRM_AUTH for render ioctls (diff) | |
| download | kernel-40efb09a7f53125719e49864da008495e39aaa1e.tar.gz kernel-40efb09a7f53125719e49864da008495e39aaa1e.zip | |
drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add
In vmw_cmdbuf_res_add if drm_ht_insert_item fails the allocated memory
for cres should be released.
Fixes: 18e4a4669c50 ("drm/vmwgfx: Fix compat shader namespace")
Signed-off-by: Navid Emamdoost <[email protected]>
Reviewed-by: Thomas Hellstrom <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions
