commit | a423f79ad74710bf4d0c16bf0435ad84830dd35c | [log] [tgz] |
---|---|---|
author | Alex Deucher <alexander.deucher@amd.com> | Tue Mar 13 20:43:00 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Mar 14 16:01:18 2018 -0500 |
tree | 4f3fc0c5e95bbf0f6809cf165beefd6f837de7e7 | |
parent | daf8809626c0ee7a152f9c34058fc3b43385dd51 [diff] |
drm/amdgpu/powerplay/vega10: fix memory leak in error path Free the backend structure if we fail to allocate device memory. Reviewed-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Rex Zhu <Rex.Zhu@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>