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

Skip to content
Commit 93763e78 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Get rid of memory leak in remote name request handling

The memory that's osi_malloc here is never freed.
Pointer p is passed either to btm_process_remote_name, or to
btm_sec_rmt_name_request_complete. Inside 2nd method, it's passed to
btm_process_remote_name. In all those places, the content of array is
copied, but the pointer is never released.

Bug: None
Flag: exempt, trivial fix
Test: manual, observe device names are ok during scanning.
Change-Id: I75279b5e0c2901161b51181a3eca120a556e1491
parent b4fe8291
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