vulkan: Don't dereference null pointer when printing error
authorYeongjin Jeong <yeongjin.jeong@navercorp.com>
Fri, 9 Aug 2019 11:13:59 +0000 (20:13 +0900)
committerMatthew Waters <matthew@centricular.com>
Thu, 29 Aug 2019 11:19:37 +0000 (11:19 +0000)
commit8bc514402072f4dc9ac41d66369b60d88180940a
tree893b837b3037fa80dbfea7bb36178527cd460a47
parent94671be428212d87e3c781a248e373ef8e2bfa73
vulkan: Don't dereference null pointer when printing error

When printing error message because the function failed, the GError variable
may not be used and it can be NULL.
ext/vulkan/vkdownload.c
ext/vulkan/vksink.c
ext/vulkan/vkupload.c