commit | 192f1dd4fb5978850851b1a7900cbb4168b6749e | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Wed Oct 12 22:42:51 2022 -0700 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Dec 14 02:26:45 2022 +0000 |
tree | 36fffe13a11dde0a107d4b7c49aba57b09c255c0 | |
parent | feee607f533a00d4ce63636adfdedf99530e824a [diff] |
Use sp<T>::make to create the sp pointer for EventLoopCallback In wificond, EventLoopCallback is derrived from MessageHandler, which is derrived from RefBase, so we should be using sp<T>::make to create the smart pointer so the incStrong will occur on the Refbase object. Bug: 243362981 Test: Flash hwasan build and do wificond scan, do not observe crash. Merged-In: Ia9505a2247bd129665ed3b1ca87f701f7e4c48f6 Change-Id: Ia9505a2247bd129665ed3b1ca87f701f7e4c48f6 (cherry picked from commit 77798e915cb1091111c511b41ede98d11858e23c) Merged-In: Ia9505a2247bd129665ed3b1ca87f701f7e4c48f6