zink: handle calloc-failure
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 27 Nov 2019 16:31:28 +0000 (17:31 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 29 Nov 2019 08:54:25 +0000 (09:54 +0100)
commit8e1dca35abe13b57b34ea30d14f9ed55f558af14
treefacf1820a301ecf506ad3f3c2f9f0d33b3fe3b21
parent8772d95d40367a2e27aef2127213a99540625632
zink: handle calloc-failure

In case we fail to allocate the context, we should notice and fail
gracefully.

CoverityID: 1455193
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/zink/zink_context.c