mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-08 11:18:43 +02:00
cms-static: Don't crash on outputs with NULL name
This commit is contained in:
parent
8f6fcbfc2e
commit
115b0f729c
1 changed files with 2 additions and 0 deletions
|
|
@ -46,6 +46,8 @@ cms_output_created(struct cms_static *cms, struct weston_output *o)
|
|||
|
||||
weston_log("cms-static: output %i [%s] created\n", o->id, o->name);
|
||||
|
||||
if (o->name == NULL)
|
||||
return;
|
||||
s = weston_config_get_section(cms->ec->config,
|
||||
"output", "name", o->name);
|
||||
if (s == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue