mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-03-21 05:33:55 -04:00
output: log error when failing to allocate output
This commit is contained in:
parent
4e832c6aaf
commit
22adaae715
1 changed files with 1 additions and 0 deletions
1
output.c
1
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));
|
struct cg_output *output = calloc(1, sizeof(struct cg_output));
|
||||||
if (!output) {
|
if (!output) {
|
||||||
|
wlr_log(WLR_ERROR, "Failed to allocate output");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue