Commit 211d6779 authored by earthdok's avatar earthdok Committed by Commit bot

Plug memory leaks in BluetoothGattChromeOSTest.*.

BUG=369379
R=armansito@chromium.org

Review URL: https://codereview.chromium.org/524693002

Cr-Commit-Position: refs/heads/master@{#292678}
parent 387f633d
...@@ -56,6 +56,9 @@ FakeBluetoothGattDescriptorClient::FakeBluetoothGattDescriptorClient() ...@@ -56,6 +56,9 @@ FakeBluetoothGattDescriptorClient::FakeBluetoothGattDescriptorClient()
} }
FakeBluetoothGattDescriptorClient::~FakeBluetoothGattDescriptorClient() { FakeBluetoothGattDescriptorClient::~FakeBluetoothGattDescriptorClient() {
for(PropertiesMap::iterator iter = properties_.begin(); iter !=
properties_.end(); iter++)
delete iter->second;
} }
void FakeBluetoothGattDescriptorClient::Init(dbus::Bus* bus) { void FakeBluetoothGattDescriptorClient::Init(dbus::Bus* bus) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment