linux-stable/drivers/auxdisplay
Andy Shevchenko cbba1f554b auxdisplay: hd44780: Fix memory leak on ->remove()
[ Upstream commit 41c8d0adf3 ]

We have to free on ->remove() the allocated resources on ->probe().

Fixes: d47d88361f ("auxdisplay: Add HD44780 Character LCD support")
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-04-20 09:15:55 +02:00
..
arm-charlcd.c auxdisplay: simplify getting .drvdata 2018-08-01 18:58:09 +02:00
cfag12864b.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
cfag12864bfb.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
charlcd.c auxdisplay: charlcd: fix x/y command parsing 2019-01-13 09:51:03 +01:00
hd44780.c auxdisplay: hd44780: Fix memory leak on ->remove() 2019-04-20 09:15:55 +02:00
ht16k33.c auxdisplay: ht16k33: fix potential user-after-free on module unload 2019-03-23 20:09:47 +01:00
img-ascii-lcd.c auxdisplay: img-ascii-lcd: Silence 2 uninitialized warnings 2018-03-13 18:16:38 +01:00
Kconfig auxdisplay: make PANEL a menuconfig 2018-04-12 19:02:45 +02:00
ks0108.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
panel.c auxdisplay: Replace licenses with SPDX identifiers 2018-04-12 19:02:45 +02:00