mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
fbdev: omapfb: lcd_mipid: Fix an error handling path in mipid_spi_probe()
[ Upstream commit79a3908d1e] If 'mipid_detect()' fails, we must free 'md' to avoid a memory leak. Fixes:66d2f99d0b("omapfb: add support for MIPI-DCS compatible LCDs") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c5cf611bc2
commit
09ea1ae4a2
1 changed files with 5 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue