commit | 40efb09a7f53125719e49864da008495e39aaa1e | [log] [tgz] |
---|---|---|
author | Navid Emamdoost <navid.emamdoost@gmail.com> | Tue Sep 24 23:37:58 2019 -0500 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Wed Jan 15 11:46:59 2020 +0100 |
tree | 975d2285cb01eb94f55baf2c8c9cbf93ec2128cf | |
parent | 0d4c19f93812c7b71c3a15f27fc4c5b2d990b2e6 [diff] |
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>