commit | 2f92cc820b5ec3bd9b7c931837dd873953958816 | [log] [tgz] |
---|---|---|
author | paulhsia <paulhsia@chromium.org> | Tue Oct 06 13:45:42 2020 +0800 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Oct 09 03:29:47 2020 +0000 |
tree | f133288cf7d636f213346777debe4023f13d0aee | |
parent | 4ee7860eac2b463885694ab2c4880d02e3a99f80 [diff] |
CRAS: cras_hfp_ag_profile: Fix use-after-free destroy_audio_gateway will free audio_gateway but it's used by cras_bt_device_notify_profile_dropped. BUG=b:170096536 TEST=scan-build make check Change-Id: Ib2619ae5a291921038dc2b371b4f6d7006893bce Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2452189 Tested-by: Chih-Yang Hsia <paulhsia@chromium.org> Commit-Queue: Chih-Yang Hsia <paulhsia@chromium.org> Reviewed-by: Dylan Reid <dgreid@chromium.org>