commit | c1e10a3369e5c38bf31ce12ddd6b7f51c380c04b | [log] [tgz] |
---|---|---|
author | Joseph Pirozzo <pirozzoj@google.com> | Tue Nov 13 08:18:43 2018 -0800 |
committer | Joseph Pirozzo <pirozzoj@google.com> | Tue Nov 13 10:38:31 2018 -0800 |
tree | 87a8a563e0c8524db7752ef64ff63ad9f2ca9af0 | |
parent | a6d6ed2ec393fca2835343b60a021458c0df15c8 [diff] [blame] |
Initialize pointers for vendor_interface Default member variables to nullptr. Bug: 118075338 Test: Inspection Change-Id: I5fc8a5b45d2c1116036139e308743a1928abaef3
diff --git a/bluetooth/1.0/default/vendor_interface.cc b/bluetooth/1.0/default/vendor_interface.cc index e5f02f3..d56e344 100644 --- a/bluetooth/1.0/default/vendor_interface.cc +++ b/bluetooth/1.0/default/vendor_interface.cc
@@ -294,6 +294,7 @@ lib_interface_->op(BT_VND_OP_POWER_CTRL, &power_state); lib_interface_->cleanup(); + lib_interface_ = nullptr; } if (lib_handle_ != nullptr) {