commit | c12c57699918889e2f662adfba929fbeb8efac6e | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Wed May 13 10:10:32 2020 -0700 |
committer | Yifan Hong <elsk@google.com> | Wed May 13 17:20:03 2020 +0000 |
tree | 77248f1d17ec41569d4112d20fed4aa9a5fa3ad9 | |
parent | ad17ebe23b5a2db78d6df0cd400fd88d6422e0e7 [diff] |
Fix sanitize address after scope Test: pass Fixes: 156199719 Change-Id: Icaf1e6d379199eec4d664494819405acc013a003 Merged-In: Icaf1e6d379199eec4d664494819405acc013a003
diff --git a/health/utils/libhealth2impl/include/health2impl/HalHealthLoop.h b/health/utils/libhealth2impl/include/health2impl/HalHealthLoop.h index d9b5580..362581e 100644 --- a/health/utils/libhealth2impl/include/health2impl/HalHealthLoop.h +++ b/health/utils/libhealth2impl/include/health2impl/HalHealthLoop.h
@@ -55,7 +55,7 @@ void set_charger_online(const HealthInfo& health_info); private: - const std::string& instance_name_; + std::string instance_name_; sp<IHealth> service_; bool charger_online_ = false; };