]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
vmwgfx: memory leaks caused by double allocation
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 18 Oct 2011 06:09:45 +0000 (09:09 +0300)
committerDave Airlie <airlied@redhat.com>
Tue, 18 Oct 2011 09:41:31 +0000 (10:41 +0100)
commit0c5d37033b3a16fdf6442730cee82dd3e8465fb1
tree0eadc332097cb6dc987e93e7ce9a20f02cabfe0a
parentd2c184fb10656f2a6d59fef76efb3a8b12fb6ed4
vmwgfx: memory leaks caused by double allocation

These variables get allocated twice so the first allocation is a
memory leak.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/vmwgfx/vmwgfx_fence.c
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c