chromeos: Properly handle network/device list which contains duplicates
commitad3682d84ce24550de656a8c9d3a703c05509ae1
authorhashimoto <hashimoto@chromium.org>
Wed, 12 Nov 2014 06:31:21 +0000 (11 22:31 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 12 Nov 2014 06:32:14 +0000 (12 06:32 +0000)
treeb8f3a02d72db1484c74386f1f3b8cbc0a588e575
parent6c83120c5941bfdae654384e1541c0277f771f5f
chromeos: Properly handle network/device list which contains duplicates

When Shill service does something wrong and the list contains duplicates,
it results in leak of ShillPropertyObserver.

I think it's unlikely this is the cause of the bug 431445, but I'd like to add this code for just in case.

BUG=431445

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

Cr-Commit-Position: refs/heads/master@{#303795}
chromeos/network/shill_property_handler.cc