diff options
author | mek@chromium.org <mek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-28 21:14:14 +0000 |
---|---|---|
committer | mek@chromium.org <mek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-28 21:14:14 +0000 |
commit | 8ca54e192eaadc07db4434e8ed960691dcab7395 (patch) | |
tree | e8ccc290cda3e5be9104143dd860071a3cbe4654 | |
parent | d15483914b628725d66f1fedbaadd90e18313de3 (diff) | |
download | chromium_src-8ca54e192eaadc07db4434e8ed960691dcab7395.zip chromium_src-8ca54e192eaadc07db4434e8ed960691dcab7395.tar.gz chromium_src-8ca54e192eaadc07db4434e8ed960691dcab7395.tar.bz2 |
Don't free id before accessing it.
BUG=338164
Review URL: https://codereview.chromium.org/139643005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247503 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/extensions/updater/extension_downloader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/updater/extension_downloader.cc b/chrome/browser/extensions/updater/extension_downloader.cc index a49068a..8bfe5c0 100644 --- a/chrome/browser/extensions/updater/extension_downloader.cc +++ b/chrome/browser/extensions/updater/extension_downloader.cc @@ -721,8 +721,8 @@ void ExtensionDownloader::OnCRXFetchComplete( delegate_->OnExtensionDownloadFailed( id, ExtensionDownloaderDelegate::CRX_FETCH_FAILED, ping, request_ids); } - extensions_queue_.reset_active_request(); ping_results_.erase(id); + extensions_queue_.reset_active_request(); } extension_fetcher_.reset(); |