mirror of
https://github.com/swaywm/sway.git
synced 2024-11-13 14:04:11 +01:00
Fix build error
This commit is contained in:
parent
63d96c1bb4
commit
d859f825d3
@ -298,7 +298,7 @@ void ipc_get_pixels(wlc_handle output) {
|
|||||||
char *data = malloc(sizeof(response_header) + size->w * size->h * 4);
|
char *data = malloc(sizeof(response_header) + size->w * size->h * 4);
|
||||||
if (!data) {
|
if (!data) {
|
||||||
sway_log(L_ERROR, "Unable to allocate pixels for get_pixels");
|
sway_log(L_ERROR, "Unable to allocate pixels for get_pixels");
|
||||||
ipc_client_disconnect(client);
|
ipc_client_disconnect(req->client);
|
||||||
free(req);
|
free(req);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user