linux_dsm_epyc7002/drivers/gpu/drm/nouveau/nvkm
Gustavo A. R. Silva 74a07c0a59 drm/nouveau/secboot/acr: fix memory leak
In case memory resources for *bl_desc* were allocated, release
them before return.

Addresses-Coverity-ID: 1472021 ("Resource leak")
Fixes: 0d46690155 ("drm/nouveau/secboot/acr: Remove VLA usage")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2018-10-11 09:54:10 +10:00
..
core drm/nouveau/core: ERR_PTR vs NULL bug in nvkm_engine_info() 2018-07-16 18:06:29 +10:00
engine drm/nouveau/disp: keep track of high-speed state, program into clock 2018-10-11 09:54:10 +10:00
falcon drm/nouveau/gr/gv100: initial support 2018-05-18 15:01:47 +10:00
subdev drm/nouveau/secboot/acr: fix memory leak 2018-10-11 09:54:10 +10:00
Kbuild