libdrm/lima: fix double file descriptor close

Fixes #4703
This commit is contained in:
Christian Prochaska 2022-12-14 09:38:17 +01:00 committed by Christian Helmuth
parent 16ce6b7acc
commit 68ba648897

View File

@ -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;
};