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

Skip to content
Commit f098a045 authored by Geliang Tang's avatar Geliang Tang Committed by Sebastian Reichel
Browse files

hsi: fix double kfree



When device_register() fails, kfree() is called in hsi_client_release(),
hence there is no need to call kfree in err3 again.

Fixes: a2aa2473 ("HSI: Add common DT binding for HSI client devices")
Signed-off-by: default avatarGeliang Tang <geliangtang@163.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent c616ac28
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