Skip to content
Commit c21b4002 authored by Christian König's avatar Christian König Committed by Greg Kroah-Hartman
Browse files

drm/ttm: fix memleak in ttm_transfered_destroy

commit 0db55f9a

 upstream.

We need to cleanup the fences for ghost objects as well.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reported-by: default avatarErhard F. <erhard_f@mailbox.org>
Tested-by: default avatarErhard F. <erhard_f@mailbox.org>
Reviewed-by: default avatarHuang 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
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 69a7fa5c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment