mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-03-30 11:11:05 -04:00
scanner: check wl_array_add result
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
This commit is contained in:
parent
4a4523fa92
commit
7a17b05187
1 changed files with 1 additions and 1 deletions
|
|
@ -1039,7 +1039,7 @@ emit_types_forward_declarations(struct protocol *protocol,
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
m->all_null = 0;
|
m->all_null = 0;
|
||||||
p = wl_array_add(types, sizeof *p);
|
p = fail_on_null(wl_array_add(types, sizeof *p));
|
||||||
*p = a->interface_name;
|
*p = a->interface_name;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue