diff options
Diffstat (limited to 'swaybar/ipc.c')
-rw-r--r-- | swaybar/ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/ipc.c b/swaybar/ipc.c index a3a9b495..f3b7dd3d 100644 --- a/swaybar/ipc.c +++ b/swaybar/ipc.c | |||
@@ -40,7 +40,7 @@ void ipc_send_workspace_command(struct swaybar *bar, const char *ws) { | |||
40 | command[d++] = ws[i]; | 40 | command[d++] = ws[i]; |
41 | } | 41 | } |
42 | 42 | ||
43 | ipc_single_command(bar->ipc_socketfd, IPC_COMMAND, command, &size); | 43 | free(ipc_single_command(bar->ipc_socketfd, IPC_COMMAND, command, &size)); |
44 | free(command); | 44 | free(command); |
45 | } | 45 | } |
46 | 46 | ||