wayland-drm: add missing NULL check
authorFrank Binns <frank.binns@imgtec.com>
Thu, 4 Aug 2016 14:15:40 +0000 (15:15 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 1 Sep 2016 14:48:52 +0000 (15:48 +0100)
commit2f3154f464ba0942da3e3509ff4e42928e7b60f7
treebe2b71b1eb5350afe766f963b42606e5ee2a3507
parentd5f65b8bf54574e45d73938702fb5505449c1b5d
wayland-drm: add missing NULL check

Although malloc is unlikely to fail check its return value nevertheless.

Signed-off-by: Frank Binns <frank.binns@imgtec.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/wayland/wayland-drm/wayland-drm.c