From 22adaae7151b186c1d9a0cae7fb3d2d8208f1416 Mon Sep 17 00:00:00 2001 From: Jente Hidskes Date: Thu, 26 Dec 2019 17:25:22 +0100 Subject: [PATCH] output: log error when failing to allocate output --- output.c | 1 + 1 file changed, 1 insertion(+) diff --git a/output.c b/output.c index b3eddb0..4e20d31 100644 --- a/output.c +++ b/output.c @@ -363,6 +363,7 @@ handle_new_output(struct wl_listener *listener, void *data) struct cg_output *output = calloc(1, sizeof(struct cg_output)); if (!output) { + wlr_log(WLR_ERROR, "Failed to allocate output"); return; }