diff options
| author | Gustavo A. R. Silva <[email protected]> | 2018-07-24 13:27:19 +0000 |
|---|---|---|
| committer | Ben Skeggs <[email protected]> | 2018-10-10 23:54:10 +0000 |
| commit | 74a07c0a59fa372b069d879971ba4d9e341979cf (patch) | |
| tree | e07605113d5028f3dd825d6e259f63cdb3f1d161 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | drm/nouveau/disp: take sink support into account for exposing 594mhz (diff) | |
| download | kernel-74a07c0a59fa372b069d879971ba4d9e341979cf.tar.gz kernel-74a07c0a59fa372b069d879971ba4d9e341979cf.zip | |
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: 0d466901552a ("drm/nouveau/secboot/acr: Remove VLA usage")
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Reviewed-by: John Hubbard <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
