Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d2f81ce2 authored by Fan Xu's avatar Fan Xu
Browse files

Use sp<> on creating BufferHubBinderService

The original code implicitly calls the constructor of sp<> in
addService() function call, which is not good for readability. Replace
it with sp<> could improve readability and avoid possible memory leak if
the implementation detail of sp<> changes.

Test: atest buffer_hub_binder_service-test (passed)
Bug: 115429751
Change-Id: Ice304a638b8d353a3b229e48c17ecd6f32a66f37
parent 7e86280f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment