drm/ttm: fix memleak in ttm_transfered_destroy
We need to cleanup the fences for ghost objects as well. Signed-off-by: NChristian König <christian.koenig@amd.com> Reported-by: NErhard F. <erhard_f@mailbox.org> Tested-by: NErhard F. <erhard_f@mailbox.org> Reviewed-by: NHuang Rui <ray.huang@amd.com> Bug: https://bugzilla.kernel.org/show_bug.cgi?id=214029 Bug: https://bugzilla.kernel.org/show_bug.cgi?id=214447 CC: <stable@vger.kernel.org> Link: https://patchwork.freedesktop.org/patch/msgid/20211020173211.2247-1-christian.koenig@amd.com
Showing
想要评论请 注册 或 登录