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

Commit 2db95276 authored by Aditya Bavanari's avatar Aditya Bavanari
Browse files

voice_svc: Avoid double free in voice_svc driver



voice_svc_dev is allocated as a device managed resource
and need not be freed since it is freed automatically.
Remove the logic to free voice_svc_dev in probe failure
and remove functions to avoid double free.

CRs-Fixed: 2204285
Change-Id: If4f9ca840b00448b987f5ce443f66b0923b01969
Signed-off-by: default avatarAditya Bavanari <abavanar@codeaurora.org>
parent c2c950b4
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