Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(863)

Unified Diff: chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc

Issue 10106009: Fix a memory leak in a new test I added. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc
===================================================================
--- chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc (revision 132473)
+++ chrome/common/net/gaia/oauth2_api_call_flow_unittest.cc (working copy)
@@ -277,7 +277,7 @@
GURL url(CreateApiUrl());
CreateFlow(rt, at, scopes);
- TestURLFetcher* url_fetcher = SetupApiCall(true, net::HTTP_OK);
+ scoped_ptr<TestURLFetcher> url_fetcher(SetupApiCall(true, net::HTTP_OK));
flow_->CreateURLFetcher();
HttpRequestHeaders headers;
url_fetcher->GetExtraRequestHeaders(&headers);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698