From 8ca54e192eaadc07db4434e8ed960691dcab7395 Mon Sep 17 00:00:00 2001 From: "mek@chromium.org" Date: Tue, 28 Jan 2014 21:14:14 +0000 Subject: 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 --- chrome/browser/extensions/updater/extension_downloader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.1