1 2 3 4 5 6 7 8 9 10
--- a/sys/dev/drm/amd/amdgpu/amdgpu_cs.c +++ b/sys/dev/drm/amd/amdgpu/amdgpu_cs.c @@ -1480,6 +1480,7 @@ return 0; default: + dma_fence_put(fence); return -EINVAL; } }