From b5416f66d256ca88220b57b73531ad0bc037a2e1 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Wed, 7 Aug 2019 15:56:19 +0200 Subject: ipc-client: remove useless free for failed malloc --- common/ipc-client.c | 1 - 1 file changed, 1 deletion(-) (limited to 'common/ipc-client.c') diff --git a/common/ipc-client.c b/common/ipc-client.c index 4750a289..ec0454c9 100644 --- a/common/ipc-client.c +++ b/common/ipc-client.c @@ -117,7 +117,6 @@ struct ipc_response *ipc_recv_response(int socketfd) { return response; error_2: free(response); - free(payload); error_1: sway_log(SWAY_ERROR, "Unable to allocate memory for IPC response"); return NULL; -- cgit v1.2.3