rusticl/memory: fix potential use-after-free in clEnqueueSVMFree
authorLingMan <18294-LingMan@users.noreply.gitlab.freedesktop.org>
Fri, 13 Oct 2023 16:51:22 +0000 (18:51 +0200)
committerMarge Bot <emma+marge@anholt.net>
Fri, 13 Oct 2023 21:43:17 +0000 (21:43 +0000)
commitd9abc07151e4785f3a8392d459e1370fb34811b3
tree0702ca59c69e1124c6bb4898c4994d7794012632
parent5ee883a23b2baf19502058ccba711165a231e977
rusticl/memory: fix potential use-after-free in clEnqueueSVMFree

Fixes: bfee3a8563d ("rusticl: add support for fine-grained system SVM")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25719>
src/gallium/frontends/rusticl/api/memory.rs