commit d859f825d3612492678f5cd6cc6dc1f2647929e1
parent 63d96c1bb45da39fa751fae654102e4dab36079a
Author: Drew DeVault <sir@cmpwn.com>
Date: Thu, 15 Dec 2016 18:45:04 -0500
Fix build error
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
@@ -298,7 +298,7 @@ void ipc_get_pixels(wlc_handle output) {
char *data = malloc(sizeof(response_header) + size->w * size->h * 4);
if (!data) {
sway_log(L_ERROR, "Unable to allocate pixels for get_pixels");
- ipc_client_disconnect(client);
+ ipc_client_disconnect(req->client);
free(req);
continue;
}