diff options
| author | 2022-12-08 17:29:14 +0100 | |
|---|---|---|
| committer | 2022-12-10 08:48:10 +0100 | |
| commit | 705e5abc47fc6fe002de9dd54376b297f93329d5 (patch) | |
| tree | 0b5ed6fe04ae227cec11207fcef2a20c5c22ee9c /libs/binder/ProcessState.cpp | |
| parent | ff9c00ddc930794bd69efe277ec96cecf6faf7d3 (diff) | |
Fix memory leak when sensor registration fails.
Switching sp<SensorInterface> to std::shared_ptr<SensorInterface>.
Fix: 261949012
Test: atest cts/tests/sensor
Test: atest VirtualSensorTest
Change-Id: I1276d35eb91bf54438271f603d36124af7fd4a4c
Diffstat (limited to 'libs/binder/ProcessState.cpp')
0 files changed, 0 insertions, 0 deletions