gallium/vl: do not call transfer_unmap if transfer is NULL
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Tue, 22 Sep 2020 12:31:32 +0000 (14:31 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 29 Sep 2020 16:50:37 +0000 (16:50 +0000)
commitb121b1b8b8f6df790dd8150a8b5e8021dc9e56bb
treebf22d34b945e94b91d115619a83c44b5538aecb6
parent8d2757789a72714489fc1fd5dfee04e48c52fee8
gallium/vl: do not call transfer_unmap if transfer is NULL

CC: mesa-stable
Acked-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6817>
src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
src/gallium/auxiliary/vl/vl_vertex_buffers.c