mirror of
https://github.com/apache/nuttx.git
synced 2026-03-26 18:23:50 +08:00
nuttx/input: fix uinput_rpmsg_device_destroy crash
Signed-off-by: yintao <yintao@xiaomi.com>
This commit is contained in:
@@ -247,7 +247,7 @@ static void uinput_rpmsg_device_destroy(FAR struct rpmsg_device *rdev,
|
||||
if (ept->rdev == rdev)
|
||||
{
|
||||
list_delete(&ept->node);
|
||||
rpmsg_destroy_ept(priv);
|
||||
rpmsg_destroy_ept(&ept->ept);
|
||||
kmm_free(ept);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user