commit 1d6d26cdec14936cfdf27d46b4561121b36184c4
parent dac9c9c72b4ae1796fa212b78f418666a52ecb2e
Author: Antonin Décimo <antonin.decimo@gmail.com>
Date: Wed, 7 Aug 2019 15:56:19 +0200
ipc-client: remove useless free for failed malloc
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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;