mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
tray: fix memory leaks
This commit is contained in:
parent
26d6360feb
commit
f54077dbca
2 changed files with 7 additions and 3 deletions
|
|
@ -186,8 +186,8 @@ struct swaybar_watcher *create_watcher(char *protocol, sd_bus *bus) {
|
|||
goto error;
|
||||
}
|
||||
|
||||
sd_bus_slot_set_floating(signal_slot, 1);
|
||||
sd_bus_slot_set_floating(vtable_slot, 1);
|
||||
sd_bus_slot_set_floating(signal_slot, 0);
|
||||
sd_bus_slot_set_floating(vtable_slot, 0);
|
||||
|
||||
watcher->bus = bus;
|
||||
watcher->hosts = create_list();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue