commit | 8f34bd0e48aeff7fd1dc2493f6d43b67cd513654 | [log] [tgz] |
---|---|---|
author | Myles Watson <mylesgw@google.com> | Wed Mar 21 16:45:32 2018 -0700 |
committer | Myles Watson <mylesgw@google.com> | Mon Apr 02 18:42:58 2018 +0000 |
tree | c1bbd36b45fb9b1538495550125d8dacd4843b32 | |
parent | bb3b4ede88a13b8838687192b6671c4aac4c65f0 [diff] |
DO NOT MERGE: PAN: Always allocate in bta_pan_data_buf_ind_cback Change I63b857d031c55d3a0754e4101e330843eb422b2a caused a double free. Move the free call to pan_data_buf_ind_cb(). Free the buffer before every return in pan_data_buf_ind_cb. Bug: 74950468 Test: manual tethering test with DUT sharing its connection Change-Id: If4526f3042699581e2cdde79a362eef0f83768eb Merged-In: If4526f3042699581e2cdde79a362eef0f83768eb (cherry picked from commit 2e0deb1d135805b37697f0e02a55269c6cc500fe)