vulkan/wsi/display: do not dereference a NULL pointer
authorIván Briano <ivan.briano@intel.com>
Mon, 10 Oct 2022 21:45:58 +0000 (14:45 -0700)
committerMarge Bot <emma+marge@anholt.net>
Mon, 3 Apr 2023 20:21:17 +0000 (20:21 +0000)
commiteadc64ab24842f478b4d31396c9b2900fc1d3361
tree49c159d90b0cce80d6c8eda666128c26613db93b
parent6ad5f885afef6135b4f7b124bdbe5f84d320bc38
vulkan/wsi/display: do not dereference a NULL pointer

Fixes dEQP-VK.wsi.direct_drm.swapchain.simulate_oom.*

Cc: mesa-stable
Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19025>
src/vulkan/wsi/wsi_common_display.c