config: handle allocation failure explicitly

This commit is contained in:
Craig Barnes 2020-08-04 23:28:16 +01:00
parent c07d14e1c0
commit f1fce96a1d
6 changed files with 223 additions and 68 deletions

View file

@ -110,6 +110,7 @@ executable(
'grid.c', 'grid.h',
'input.c', 'input.h',
'log.c', 'log.h',
'macros.h',
'main.c',
'misc.c', 'misc.h',
'osc.c', 'osc.h',
@ -129,6 +130,7 @@ executable(
'user-notification.h',
'vt.c', 'vt.h',
'wayland.c', 'wayland.h',
'xmalloc.c', 'xmalloc.h',
wl_proto_src + wl_proto_headers, version,
dependencies: [math, threads, pixman, wayland_client, wayland_cursor, xkb, fontconfig,
tllist, fcft],