Chromium Code Reviews
Help | Chromium Project | Sign in
(53)

Issue 5973004: The CertVerifierJob destructor should delete canceled requests.... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 7 months ago by wtc
Modified:
4 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, PaweĊ‚ Hajdan Jr.
Visibility:
Public.

Description

The CertVerifierJob destructor should delete canceled requests. Add a job to inflight_ only after the job's worker has started successfully. R=agl BUG=63357, 67289 TEST=net_unittests --gtest_filter=CertVerifierTest.CancelRequestThenQuit should not leak a CertVerifierRequest object under valgrind. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72203

Patch Set 1 #

Patch Set 2 : Add a LOG(ERROR) message #

Total comments: 2

Patch Set 3 : Make willchan's suggested changes #

Patch Set 4 : Sync with ToT #

Patch Set 5 : Sync with ToT #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -4 lines) Patch
M net/base/cert_verifier.cc View 1 2 3 4 4 chunks +20 lines, -4 lines 0 comments Download
M net/base/cert_verifier_unittest.cc View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download
Trybot results:
Commit: CQ not working?

Messages

Total messages: 3 (0 generated)
wtc
agl: your dnsrr_resolver.cc code doesn't have this memory leak because the RRResolverJob destructor calls PostAll(). ...
4 years, 7 months ago (2010-12-18 01:12:19 UTC) #1
willchan no longer on Chromium
LGTM http://codereview.chromium.org/5973004/diff/4001/net/base/cert_verifier.cc File net/base/cert_verifier.cc (right): http://codereview.chromium.org/5973004/diff/4001/net/base/cert_verifier.cc#newcode351 net/base/cert_verifier.cc:351: return ERR_FAILED; Is this ERR_FAILED ok? I don't ...
4 years, 7 months ago (2011-01-04 21:33:54 UTC) #2
agl
4 years, 6 months ago (2011-01-06 14:03:00 UTC) #3
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 5fa3ca5