commit | 73bb787e6e780a0dd15c0d3d03efaf5dfc270e26 | [log] [tgz] |
---|---|---|
author | Chris Ye <lzye@google.com> | Wed Oct 12 22:42:51 2022 -0700 |
committer | Chris Ye <lzye@google.com> | Mon Oct 31 13:33:59 2022 -0700 |
tree | f8af5bf94ed61e3e3a8bddcf52921d6f0d13988d | |
parent | 0ad7df11176eacd42be6540fedd62954f896da48 [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