mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-22 15:12:26 +00:00
Close fd's obtained from logind
This commit is contained in:
parent
02dfa9101e
commit
ece58514b4
@ -104,6 +104,7 @@ static void logind_release_device(struct wlr_session *base, int fd) {
|
||||
|
||||
sd_bus_error_free(&error);
|
||||
sd_bus_message_unref(msg);
|
||||
close(fd);
|
||||
}
|
||||
|
||||
static bool logind_change_vt(struct wlr_session *base, unsigned vt) {
|
||||
|
Loading…
Reference in New Issue
Block a user