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

Skip to content
Commit 26d5e908 authored by Jack Pham's avatar Jack Pham Committed by Stephen Boyd
Browse files

usb: misc: fix memory leaks



Replace calls to platform_device_del with platform_device_unregister
which calls device_put to properly free the device structure.

CRs-fixed: 366005
Change-Id: Ic3d82e50383fa475f50c73e5982ef718a9eaa26f
Signed-off-by: default avatarJack Pham <jackp@codeaurora.org>
parent f9835d4a
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