wayland: Let wl_display_disconnect close fd (#16407)

This commit is contained in:
Colin Kinloch 2024-04-05 15:39:45 +01:00 committed by GitHub
parent a6beba6376
commit 9749940c67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -256,9 +256,6 @@ void gfx_ctx_wl_get_video_size_common(void *data,
void gfx_ctx_wl_destroy_resources_common(gfx_ctx_wayland_data_t *wl)
{
if (wl->input.dpy != NULL && wl->input.fd >= 0)
close(wl->input.fd);
#ifdef HAVE_XKBCOMMON
free_xkb();
#endif