mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-09 10:06:59 -05: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));
|
||||
if (!output) {
|
||||
wlr_log(WLR_ERROR, "Failed to allocate output");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue