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

Issue 19407: Make purify happy by fixing memory leak that shows up during shutdown. (Closed)

Created:
11 years, 11 months ago by kuchhal
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Make purify happy by fixing memory leak that shows up during shutdown. BUG=6528

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M chrome/browser/metrics/metrics_service.cc View 1 chunk +8 lines, -0 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
kuchhal
This is one possible fix to make Purify happy for ui tests. The problem is ...
11 years, 11 months ago (2009-01-28 00:43:38 UTC) #1
jar (doing other things)
I'm not completely clear on the scenario where this fires... but the code is safe, ...
11 years, 11 months ago (2009-01-28 01:11:19 UTC) #2
darin (slow to review)
11 years, 11 months ago (2009-01-28 09:18:27 UTC) #3
http://codereview.chromium.org/19407/diff/1/2
File chrome/browser/metrics/metrics_service.cc (right):

http://codereview.chromium.org/19407/diff/1/2#newcode352
Line 352: if (pending_log_) {
nit: there's no need to null-check a pointer before calling delete on it. 
"delete NULL" is a no-op.

Powered by Google App Engine
This is Rietveld 408576698