]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: fix memory leak while individualizing BOs
authorChristian König <christian.koenig@amd.com>
Wed, 13 Sep 2017 08:43:09 +0000 (10:43 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Sep 2017 16:10:14 +0000 (12:10 -0400)
commit0d2bd2ae045d8dcb446a3d9a4cecefa70428573a
tree92c8bf8072a60eebf4c64ab9de04b7b447cb54d2
parentc09312a6532a9a976ec4e72eb3b7fa10e87a8b07
drm/ttm: fix memory leak while individualizing BOs

We need to free the reservation object before we take the BO
from the delayed delete list.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Monk Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c