diff options
author | gehao <gehao@kylinos.cn> | 2022-10-26 12:54:05 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-12-31 15:32:59 +0300 |
commit | 2b7e54cdda3f5d0b92740860bd680fb4a247bd35 (patch) | |
tree | 6440bc5dca7ab7dbb4ddf2450216953200a3c1d6 /net/netlink | |
parent | f97e6d4af8ea20d851d9faa8133d3b94c2c5aa79 (diff) | |
download | linux-2b7e54cdda3f5d0b92740860bd680fb4a247bd35.tar.xz |
drm/amd/display: prevent memory leak
[ Upstream commit d232afb1f3417ae8194ccf19ad3a8360e70e104e ]
In dce6(0,1,4)_create_resource_pool and dce80_create_resource_pool
the allocated memory should be released if construct pool fails.
Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: gehao <gehao@kylinos.cn>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions