mirror of
https://github.com/swaywm/sway.git
synced 2024-11-10 12:33:50 +01:00
ipc-client: remove useless free for failed malloc
This commit is contained in:
parent
dac9c9c72b
commit
1d6d26cdec
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user