aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2017-04-19 10:30:47 +0200
committerLuca Coelho <[email protected]>2017-04-20 07:28:03 +0300
commit718ceb22a0ccd0b3a02a4bd401d944a1eb16f3ce (patch)
treec15b167d14eac331b0ac68ad3f335d92a4032a6c /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parent97b00d877bb8c2e499b9d0c07b65bd92b4e91ddd (diff)
iwlwifi: pcie: free context info in case of failures
If iwl_pcie_ctxt_info_init_fw_sec() fails, the previous allocated DMA memory needs to be freed (it even goes out of scope immediately.) Do that to prevent the leak. Fixes: eda50cde58de ("iwlwifi: pcie: add context information support") Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Luca Coelho <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions