diff options
Diffstat (limited to 'swaybar/main.c')
-rw-r--r-- | swaybar/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/swaybar/main.c b/swaybar/main.c index ac3b9475..49aa08cd 100644 --- a/swaybar/main.c +++ b/swaybar/main.c @@ -400,6 +400,7 @@ void bar_ipc_init(int outputi, const char *bar_id) { const char *subscribe_json = "[ \"workspace\" ]"; len = strlen(subscribe_json); res = ipc_single_command(ipc_listen_socketfd, IPC_SUBSCRIBE, subscribe_json, &len); + free(res); ipc_update_workspaces(); } |