Skip to content
Commit fc94f764 authored by Aditya Bavanari's avatar Aditya Bavanari Committed by Manjunatha Madana
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 47a28585
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment