Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/linux drm: Plug another fence leak.
details: https://anonhg.NetBSD.org/src/rev/df64ea3ede6f
branches: trunk
changeset: 984977:df64ea3ede6f
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 02 23:14:15 2021 +0000
description:
drm: Plug another fence leak.
XXX pullup-9
diffstat:
sys/external/bsd/drm2/linux/linux_reservation.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 226e9ca7e69d -r df64ea3ede6f sys/external/bsd/drm2/linux/linux_reservation.c
--- a/sys/external/bsd/drm2/linux/linux_reservation.c Mon Aug 02 22:37:29 2021 +0000
+++ b/sys/external/bsd/drm2/linux/linux_reservation.c Mon Aug 02 23:14:15 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_reservation.c,v 1.13 2021/08/02 20:20:54 riastradh Exp $ */
+/* $NetBSD: linux_reservation.c,v 1.14 2021/08/02 23:14:15 riastradh Exp $ */
/*-
* Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_reservation.c,v 1.13 2021/08/02 20:20:54 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_reservation.c,v 1.14 2021/08/02 23:14:15 riastradh Exp $");
#include <sys/param.h>
#include <sys/poll.h>
@@ -1003,6 +1003,7 @@
* assume the event is not ready.
*/
if (!claimed || callback) {
+ fence_put(fence);
revents = 0;
break;
}
Home |
Main Index |
Thread Index |
Old Index