From 1b4d61662c1deddbf48c3392e40f6ac6a888bc90 Mon Sep 17 00:00:00 2001 From: Zandr Martin Date: Tue, 31 May 2016 09:25:54 -0500 Subject: [PATCH] fix swaybar problem in 08bef67 --- sway/ipc-server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 13e1837a3..484d7e516 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c @@ -490,6 +490,7 @@ void ipc_client_handle_command(struct ipc_client *client) { } exit_cleanup: + client->payload_length = 0; free(buf); return; }