mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 15:48:05 +02:00
drm: close the drm file descriptor when the compositor is destroyed
This commit is contained in:
parent
a02d154b13
commit
45c15b83c0
1 changed files with 2 additions and 0 deletions
|
|
@ -2260,6 +2260,8 @@ drm_destroy(struct weston_compositor *ec)
|
|||
weston_log("failed to drop master: %m\n");
|
||||
tty_destroy(d->tty);
|
||||
|
||||
close(d->drm.fd);
|
||||
|
||||
free(d);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue