diff options
author | Dinghao Liu <dinghao.liu@zju.edu.cn> | 2020-08-25 14:29:00 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-29 09:57:38 +0100 |
commit | 23159b4375a4dbb46c55bbcb66d2ecc080bbbd3d (patch) | |
tree | 409dde731c7fbedbd000c863190ddc183fef6e59 /sound/soc/fsl/imx-es8328.c | |
parent | 2370d94aed414345bc3c367f188afb3838fd29ca (diff) |
video: fbdev: radeon: Fix memleak in radeonfb_pci_register
[ Upstream commit fe6c6a4af2be8c15bac77f7ea160f947c04840d1 ]
When radeon_kick_out_firmware_fb() fails, info should be
freed just like the subsequent error paths.
Fixes: 069ee21a82344 ("fbdev: Fix loading of module radeonfb on PowerMac")
Signed-off-by: Dinghao Liu <dinghao.liu@zju.edu.cn>
Reviewed-by: Mathieu Malaterre <malat@debian.org>
Cc: Kangjie Lu <kjlu@umn.edu>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200825062900.11210-1-dinghao.liu@zju.edu.cn
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/soc/fsl/imx-es8328.c')
0 files changed, 0 insertions, 0 deletions