summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-12-15 18:45:04 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-12-15 19:01:41 -0500
commitd859f825d3612492678f5cd6cc6dc1f2647929e1 (patch)
treefa4dc296a5f1377867752d320ceef4e4b0178bbf
parentFix indentation issues (diff)
downloadsway-d859f825d3612492678f5cd6cc6dc1f2647929e1.tar.gz
sway-d859f825d3612492678f5cd6cc6dc1f2647929e1.tar.zst
sway-d859f825d3612492678f5cd6cc6dc1f2647929e1.zip
Fix build error
-rw-r--r--sway/ipc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index f5be9e37..be6e411a 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -298,7 +298,7 @@ void ipc_get_pixels(wlc_handle output) {
298 char *data = malloc(sizeof(response_header) + size->w * size->h * 4); 298 char *data = malloc(sizeof(response_header) + size->w * size->h * 4);
299 if (!data) { 299 if (!data) {
300 sway_log(L_ERROR, "Unable to allocate pixels for get_pixels"); 300 sway_log(L_ERROR, "Unable to allocate pixels for get_pixels");
301 ipc_client_disconnect(client); 301 ipc_client_disconnect(req->client);
302 free(req); 302 free(req);
303 continue; 303 continue;
304 } 304 }