diff options
author | 2015-12-27 11:06:22 -0500 | |
---|---|---|
committer | 2015-12-27 11:06:22 -0500 | |
commit | 82aca85cf87e6ead4bc5659c40041b1902463063 (patch) | |
tree | 9c548378b99349d08616118fa43a5cb78ff062be /swaybar/main.c | |
parent | Merge pull request #408 from mikkeloscar/add-focus-sibling (diff) | |
parent | swaybar: Free unused IPC response (diff) | |
download | sway-82aca85cf87e6ead4bc5659c40041b1902463063.tar.gz sway-82aca85cf87e6ead4bc5659c40041b1902463063.tar.zst sway-82aca85cf87e6ead4bc5659c40041b1902463063.zip |
Merge pull request #410 from mikkeloscar/free-ipc-response
swaybar: Free unused IPC response
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 434d7363..747e03de 100644 --- a/swaybar/main.c +++ b/swaybar/main.c | |||
@@ -393,6 +393,7 @@ void bar_ipc_init(int outputi, const char *bar_id) { | |||
393 | const char *subscribe_json = "[ \"workspace\" ]"; | 393 | const char *subscribe_json = "[ \"workspace\" ]"; |
394 | len = strlen(subscribe_json); | 394 | len = strlen(subscribe_json); |
395 | res = ipc_single_command(ipc_listen_socketfd, IPC_SUBSCRIBE, subscribe_json, &len); | 395 | res = ipc_single_command(ipc_listen_socketfd, IPC_SUBSCRIBE, subscribe_json, &len); |
396 | free(res); | ||
396 | 397 | ||
397 | ipc_update_workspaces(); | 398 | ipc_update_workspaces(); |
398 | } | 399 | } |