zink: Some return values of malloc should be checked
authorxurui <xurui@kylinos.cn>
Thu, 6 Apr 2023 10:11:48 +0000 (18:11 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 13 Apr 2023 13:40:22 +0000 (13:40 +0000)
commitf66e6b671ce0e7622c87baa281cb0e874f80a413
tree9063db93dac9547dc2d3fce33af43a1de745c23f
parent0b4e7491f3f7528f251458f4e84657b16af6df12
zink: Some return values of malloc should be checked

Signed-off-by: xurui <xurui@kylinos.cn>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22328>
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_kopper.c
src/gallium/drivers/zink/zink_program.c
src/gallium/drivers/zink/zink_query.c
src/gallium/drivers/zink/zink_resource.c
src/gallium/drivers/zink/zink_screen.c
src/gallium/drivers/zink/zink_state.c
src/gallium/drivers/zink/zink_surface.c