drm/radeon: memory leak on bo reservation failure. v2
commit 74073c9d upstream. On bo reservation failure, we end up leaking fpriv. v2 (chk): rebased and added missing free on vm failure as well Fixes: 5e386b57 ("drm/radeon: fix missing bo reservation") Cc: Christian König <christian.koenig@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by:Quentin Casasnovas <quentin.casasnovas@oracle.com> Signed-off-by:
Christian König <christian.koenig@amd.com> [ kamal: backport to 3.13-stable: omit radeon_vm_init() return check ] Signed-off-by:
Kamal Mostafa <kamal@canonical.com>
Showing
Please register or sign in to comment