zink: avoid NULL-deref
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 27 Nov 2019 16:38:53 +0000 (17:38 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 29 Nov 2019 08:54:25 +0000 (09:54 +0100)
commitc8769ff8dd2eb9c9698f9608f97256708d6f1009
tree9a602ad008bde3c288806f720ed78414a0428324
parente54240f1531ac58f2eefb8df7294a12f187c1cc5
zink: avoid NULL-deref

Same story as the previous two commits; these functions dereference the
memory they are pointed at. We can't do that.

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