commit | aa349da004fe40dd2c4835eff655d690f880813e | [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 | 1ef3052ac92c8e94079b3b690fa6ed8c1475d7d4 | |
parent | 8ea5dc35115fb92f06b9467e10c8e87d68e53ddf [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)