diff options
author | Deepak Rawat <drawat@vmware.com> | 2017-06-26 12:39:08 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-05 12:40:18 (GMT) |
commit | 466877f2d25758e5ad007b292c1f225520f8c877 (patch) | |
tree | 62ecb81ca6f1ce2a4e6c6a255e51e600751a64a2 /drivers/md | |
parent | 78c4244f8bdbf3cefa1e01bfcfe7a53bcc45c0f3 (diff) | |
download | linux-466877f2d25758e5ad007b292c1f225520f8c877.tar.xz |
drm/vmwgfx: Free hash table allocated by cmdbuf managed res mgr
commit 82fcee526ba8ca2c5d378bdf51b21b7eb058fe3a upstream.
The hash table created during vmw_cmdbuf_res_man_create was
never freed. This causes memory leak in context creation.
Added the corresponding drm_ht_remove in vmw_cmdbuf_res_man_destroy.
Tested for memory leak by running piglit overnight and kernel
memory is not inflated which earlier was.
Signed-off-by: Deepak Rawat <drawat@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/md')
0 files changed, 0 insertions, 0 deletions