aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2022-02-23 17:47:17 +0200
committerMiguel Ojeda <[email protected]>2022-03-03 00:30:14 +0100
commit898c0a15425a5bcaa8d44bd436eae5afd2483796 (patch)
treeb21a03db01dee66b3ab9d25d70ee418a41afaa15 /net/switchdev/switchdev.c
parent4424c35ead667ba2e8de7ab8206da66453e6f728 (diff)
auxdisplay: lcd2s: Fix memory leak in ->remove()
Once allocated the struct lcd2s_data is never freed. Fix the memory leak by switching to devm_kzalloc(). Fixes: 8c9108d014c5 ("auxdisplay: add a driver for lcd2s character display") Cc: Lars Poeschel <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions