diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-11-08 00:16:36 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-04-08 15:23:36 +0300 |
commit | c06577a80485511b894cb688e881ef0bc2d1d296 (patch) | |
tree | fa1ba6a0d25e0220643e21ada696b5f03cf8aae6 /tools | |
parent | 2154f7cadd88f16ea58323e2fcba811245584bc7 (diff) | |
download | linux-c06577a80485511b894cb688e881ef0bc2d1d296.tar.xz |
gpu: host1x: Fix a memory leak in 'host1x_remove()'
[ Upstream commit 025c6643a81564f066d8381b9e2f4603e0f8438f ]
Add a missing 'host1x_channel_list_free()' call in the remove function,
as already done in the error handling path of the probe function.
Fixes: 8474b02531c4 ("gpu: host1x: Refactor channel allocation code")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions