diff options
| author | 2019-09-24 23:37:58 -0500 | |
|---|---|---|
| committer | 2020-01-15 11:46:59 +0100 | |
| commit | 40efb09a7f53125719e49864da008495e39aaa1e (patch) | |
| tree | 975d2285cb01eb94f55baf2c8c9cbf93ec2128cf /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | drm/vmwgfx: drop DRM_AUTH for render ioctls (diff) | |
| download | linux-rng-40efb09a7f53125719e49864da008495e39aaa1e.tar.xz linux-rng-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 <navid.emamdoost@gmail.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
