mirror of
https://github.com/gwenhael-le-moine/sway-patched-tray-menu.git
synced 2024-12-28 22:23:42 +01:00
ipc-client: remove useless free for failed malloc
This commit is contained in:
parent
8bd3b7be8a
commit
3896bdaa68
1 changed files with 0 additions and 1 deletions
|
@ -117,7 +117,6 @@ struct ipc_response *ipc_recv_response(int socketfd) {
|
||||||
return response;
|
return response;
|
||||||
error_2:
|
error_2:
|
||||||
free(response);
|
free(response);
|
||||||
free(payload);
|
|
||||||
error_1:
|
error_1:
|
||||||
sway_log(SWAY_ERROR, "Unable to allocate memory for IPC response");
|
sway_log(SWAY_ERROR, "Unable to allocate memory for IPC response");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue