summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 01:59:51 +0000
committervarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-09 01:59:51 +0000
commitd828e2fb95e5356232d48cd676c30116f61f1dc2 (patch)
tree2078032e5203fc7b03c5dcb6bee8b1605f3d2de5
parentd285bbb58357cd6af7da812f19d753f2057b7314 (diff)
downloadchromium_src-d828e2fb95e5356232d48cd676c30116f61f1dc2.zip
chromium_src-d828e2fb95e5356232d48cd676c30116f61f1dc2.tar.gz
chromium_src-d828e2fb95e5356232d48cd676c30116f61f1dc2.tar.bz2
Fix crash in network_library while trying to forget a network.
BUG=110943 TEST=no crash Review URL: http://codereview.chromium.org/9348061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121149 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/chromeos/cros/network_library.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/chromeos/cros/network_library.cc b/chrome/browser/chromeos/cros/network_library.cc
index b51b9e9..eafbed7 100644
--- a/chrome/browser/chromeos/cros/network_library.cc
+++ b/chrome/browser/chromeos/cros/network_library.cc
@@ -3294,7 +3294,7 @@ void NetworkLibraryImplBase::DeleteRememberedNetwork(
// Remove the ONC blob for the network, if present.
NetworkOncMap::iterator onc_map_entry =
- network_onc_map_.find(network->unique_id());
+ network_onc_map_.find(remembered_network->unique_id());
if (onc_map_entry != network_onc_map_.end()) {
delete onc_map_entry->second;
network_onc_map_.erase(onc_map_entry);