1
0
Fork 0
mirror of https://github.com/swaywm/sway.git synced 2025-04-09 06:56:21 +00:00

Merge pull request from mikkeloscar/free-ipc-response

swaybar: Free unused IPC response
This commit is contained in:
Drew DeVault 2015-12-27 11:06:22 -05:00
commit 82aca85cf8

View file

@ -393,6 +393,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();
}