summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorNavid Emamdoost <navid.emamdoost@gmail.com>2019-09-24 23:37:58 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-28 15:39:04 +0100
commitafd459796f6bd2db8bfeac39eb8a2b7c955a2b63 (patch)
treea12db8cbae53fd49e14d081a90336df16643e50c /include/linux
parenta724f2aa8cb4107743f2adae71215261743aefdd (diff)
drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add
[ Upstream commit 40efb09a7f53125719e49864da008495e39aaa1e ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions