Commit b229fb58 authored by koz@chromium.org's avatar koz@chromium.org

Fix memory leak.

TBR=willchan

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86746 0039d316-1c4b-4281-b951-d872f2087c98
parent d20e8ce2
......@@ -166,7 +166,7 @@ TEST(URLRequestJobFactoryTest, InterceptorDoesntInterceptUnknownProtocols) {
URLRequestJobFactory job_factory;
request_context->set_job_factory(&job_factory);
DummyInterceptor* interceptor = new DummyInterceptor;
job_factory.AddInterceptor(new DummyInterceptor);
job_factory.AddInterceptor(interceptor);
TestURLRequest request(GURL("foo://bar"), &delegate);
request.set_context(request_context);
request.Start();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment