summaryrefslogtreecommitdiffstats
path: root/chromeos/dbus/shill_ipconfig_client.cc
diff options
context:
space:
mode:
authorstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-04 21:50:47 +0000
committerstevenjb@chromium.org <stevenjb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-04 21:50:47 +0000
commit19853e39a6dbf6ce1a1d8fb8015754832d4d409e (patch)
treec13083fc801b9d4278dcf6d6f2163706e5e0f915 /chromeos/dbus/shill_ipconfig_client.cc
parent694498e8de96b8ed22c4cdca26370d66ab0d6dfc (diff)
downloadchromium_src-19853e39a6dbf6ce1a1d8fb8015754832d4d409e.zip
chromium_src-19853e39a6dbf6ce1a1d8fb8015754832d4d409e.tar.gz
chromium_src-19853e39a6dbf6ce1a1d8fb8015754832d4d409e.tar.bz2
Track active references in ShillClientHelper (Take 2)
To prevent Shill Service DBus ObjectProxy instances from accumulating, remove them when the service becomes inactive. Original CL: https://codereview.chromium.org/23658053/ BUG=223483 TBR=hashimoto@chromium.org Review URL: https://codereview.chromium.org/24558004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227100 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chromeos/dbus/shill_ipconfig_client.cc')
-rw-r--r--chromeos/dbus/shill_ipconfig_client.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromeos/dbus/shill_ipconfig_client.cc b/chromeos/dbus/shill_ipconfig_client.cc
index 4483078..46aeb71 100644
--- a/chromeos/dbus/shill_ipconfig_client.cc
+++ b/chromeos/dbus/shill_ipconfig_client.cc
@@ -70,7 +70,7 @@ class ShillIPConfigClientImpl : public ShillIPConfigClient {
// There is no helper for the profile, create it.
dbus::ObjectProxy* object_proxy =
bus_->GetObjectProxy(shill::kFlimflamServiceName, ipconfig_path);
- ShillClientHelper* helper = new ShillClientHelper(bus_, object_proxy);
+ ShillClientHelper* helper = new ShillClientHelper(object_proxy);
helper->MonitorPropertyChanged(shill::kFlimflamIPConfigInterface);
helpers_.insert(HelperMap::value_type(ipconfig_path.value(), helper));
return helper;