diff --git a/sys/external/bsd/drm2/linux/linux_reservation.c b/sys/external/bsd/drm2/linux/linux_reservation.c index aa676c1fee48..694641d79a87 100644 --- a/sys/external/bsd/drm2/linux/linux_reservation.c +++ b/sys/external/bsd/drm2/linux/linux_reservation.c @@ -796,6 +796,7 @@ wait: ret = fence_wait_timeout(fence, intr, timeout); if (ret <= 0) return ret; + fence_put(fence); KASSERT(ret <= timeout); timeout = ret; goto top;