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

Issue 12440066: Fix minor valgrind-found memory leaks (Closed)

Created:
7 years, 9 months ago by robertphillips
Modified:
7 years, 9 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Fix minor valgrind-found memory leaks

Patch Set 1 #

Total comments: 3

Patch Set 2 : Addressed code review issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M src/core/SkRefDict.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M src/effects/SkMatrixConvolutionImageFilter.cpp View 2 chunks +3 lines, -4 lines 0 comments Download
M tests/Matrix44Test.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M tests/PDFPrimitivesTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
robertphillips
7 years, 9 months ago (2013-03-21 14:15:20 UTC) #1
bsalomon
lgtm
7 years, 9 months ago (2013-03-21 14:21:07 UTC) #2
reed1
lgtm One suggestion to use template helper. https://codereview.chromium.org/12440066/diff/1/src/core/SkRefDict.cpp File src/core/SkRefDict.cpp (right): https://codereview.chromium.org/12440066/diff/1/src/core/SkRefDict.cpp#newcode62 src/core/SkRefDict.cpp:62: delete rec; ...
7 years, 9 months ago (2013-03-21 14:21:52 UTC) #3
robertphillips
7 years, 9 months ago (2013-03-21 17:40:21 UTC) #4
Message was sent while issue was closed.
committed as r8297

https://codereview.chromium.org/12440066/diff/1/src/core/SkRefDict.cpp
File src/core/SkRefDict.cpp (right):

https://codereview.chromium.org/12440066/diff/1/src/core/SkRefDict.cpp#newcode62
src/core/SkRefDict.cpp:62: delete rec;
Yes - this was found in the RefDict test.

Powered by Google App Engine
This is Rietveld 408576698