Skip to content
Commit 6231b434 authored by Lyle Zhu's avatar Lyle Zhu Committed by Dan Kalowsky
Browse files

Bluetooth: Classic: SDP: Fix buf leak issue



In the function `sdp_client_ss_search()` and
`sdp_client_ssa_search()`, the allocated buf is not released if the
required UUID is invalid.

Un-reference the allocated net buffer if the UUID is invalid.

Signed-off-by: default avatarLyle Zhu <lyle.zhu@nxp.com>
parent 146e22fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment