Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c009875b authored by Guang Jian Zeng's avatar Guang Jian Zeng
Browse files

usb: misc: ipc_bridge: Fix memory leak



Memory for the dev->readbuf is allocated by ipc_bridge_probe function.
But it needs to be explicitly freed by the wrapper driver. Call kfree
on it in the ipc bridge disconnection function.

CRs-Fixed: 639279
Change-Id: I11244abcf7ddd21bf1e7690d070e61c506b14be1
Signed-off-by: default avatarGuang Jian Zeng <gzeng@codeaurora.org>
parent 563010bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment