aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAntonin Décimo <antonin.decimo@gmail.com>2019-08-07 15:56:19 +0200
committerDrew DeVault <sir@cmpwn.com>2019-08-12 09:42:11 +0900
commit1d6d26cdec14936cfdf27d46b4561121b36184c4 (patch)
treea91045048d5e6c57b1b4a8c97337817f554baa05 /common
parentdac9c9c72b4ae1796fa212b78f418666a52ecb2e (diff)
ipc-client: remove useless free for failed malloc
Diffstat (limited to 'common')
-rw-r--r--common/ipc-client.c1
1 files changed, 0 insertions, 1 deletions
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;