From 68ba648897a4df063d482dd76ddda0b8c37ed1a1 Mon Sep 17 00:00:00 2001 From: Christian Prochaska Date: Wed, 14 Dec 2022 09:38:17 +0100 Subject: [PATCH] libdrm/lima: fix double file descriptor close Fixes #4703 --- repos/libports/src/lib/libdrm/ioctl_lima.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/repos/libports/src/lib/libdrm/ioctl_lima.cc b/repos/libports/src/lib/libdrm/ioctl_lima.cc index cd50e25ae3..9a68cb3b7d 100644 --- a/repos/libports/src/lib/libdrm/ioctl_lima.cc +++ b/repos/libports/src/lib/libdrm/ioctl_lima.cc @@ -610,7 +610,6 @@ class Lima::Call bool result = false; auto free_ctx = [&] (Gpu_context &ctx) { - ::close(ctx.fd); Genode::destroy(_heap, &ctx); result = true; };