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

Commit b9e1645e authored by Yifan Hong's avatar Yifan Hong
Browse files

Fix sanitize address after scope

Test: pass
Fixes: 156199719
Change-Id: Icaf1e6d379199eec4d664494819405acc013a003
parent ba894f81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -55,7 +55,7 @@ class HalHealthLoop : public HealthLoop {
    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;
};