Skip to content
Commit f0cad4c0 authored by Lionel Landwerlin's avatar Lionel Landwerlin Committed by Dylan Baker
Browse files

anv: fix unwind of vkCreateDevice fail



We're skipping the context destruction in some cases which is the
grand scheme of thing is not that important because closing device->fd
will destroy the associated context as well.

Signed-off-by: default avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
Reported-by: default avatarJordan Justen <jordan.l.justen@intel.com>
Reviewed-by: default avatarJordan Justen <jordan.l.justen@intel.com>
Cc: <mesa-stable@lists.freedesktop.org>
Fixes: b30e01ae ("anv: fix memory leak on device destroy")
(cherry picked from commit 0dfa643f)
parent c5f5ce1e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment