mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-24 02:49:48 +01:00
Merge pull request #1104 from VincentVanlaer/logind-fd-leak
Close fd's obtained from logind
This commit is contained in:
commit
07209d062c
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ static void logind_release_device(struct wlr_session *base, int fd) {
|
||||||
|
|
||||||
sd_bus_error_free(&error);
|
sd_bus_error_free(&error);
|
||||||
sd_bus_message_unref(msg);
|
sd_bus_message_unref(msg);
|
||||||
|
close(fd);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool logind_change_vt(struct wlr_session *base, unsigned vt) {
|
static bool logind_change_vt(struct wlr_session *base, unsigned vt) {
|
||||||
|
|
Loading…
Reference in a new issue