aboutsummaryrefslogtreecommitdiffstats
path: root/sway/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c
index 5a65e50c..6754190f 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -126,6 +126,7 @@ void run_as_ipc_client(char *command, char *socket_path) {
126 uint32_t len = strlen(command); 126 uint32_t len = strlen(command);
127 char *resp = ipc_single_command(socketfd, IPC_COMMAND, command, &len); 127 char *resp = ipc_single_command(socketfd, IPC_COMMAND, command, &len);
128 printf("%s\n", resp); 128 printf("%s\n", resp);
129 free(resp);
129 close(socketfd); 130 close(socketfd);
130} 131}
131 132