Skip to content
Commit 2cfd72f8 authored by Dan Carpenter's avatar Dan Carpenter Committed by Miguel Ojeda
Browse files

auxdisplay: fix use after free in lcd2s_i2c_remove()



The kfree() needs to be moved down a line to prevent a use after free.

Fixes: 8c9108d0 ("auxdisplay: add a driver for lcd2s character display")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent ffdf726d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment