Index: device/bluetooth/bluetooth_adapter.cc |
diff --git a/device/bluetooth/bluetooth_adapter.cc b/device/bluetooth/bluetooth_adapter.cc |
index 6f036b321562589fd685643fe7b33f78e7472f6e..b64c1434d1bf0807da537593b5a5450309812928 100644 |
--- a/device/bluetooth/bluetooth_adapter.cc |
+++ b/device/bluetooth/bluetooth_adapter.cc |
@@ -4,6 +4,7 @@ |
#include "device/bluetooth/bluetooth_adapter.h" |
+#include "base/stl_util.h" |
#include "device/bluetooth/bluetooth_device.h" |
namespace device { |
@@ -12,6 +13,7 @@ BluetoothAdapter::BluetoothAdapter() { |
} |
BluetoothAdapter::~BluetoothAdapter() { |
+ STLDeleteValues(&devices_); |
} |
const std::string& BluetoothAdapter::address() const { |