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

Issue 15029008: Fix memory leak in filter tool (Closed)

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

Description

This should be a bit better

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M tools/filtermain.cpp View 2 chunks +7 lines, -3 lines 3 comments Download

Messages

Total messages: 6 (0 generated)
robertphillips
7 years, 7 months ago (2013-05-10 14:20:48 UTC) #1
jvanverth1
Trying it out on the big list, I'll let you know how it goes. Until ...
7 years, 7 months ago (2013-05-10 14:34:46 UTC) #2
robertphillips
https://codereview.chromium.org/15029008/diff/1/tools/filtermain.cpp File tools/filtermain.cpp (right): https://codereview.chromium.org/15029008/diff/1/tools/filtermain.cpp#newcode721 tools/filtermain.cpp:721: Yep - when enabled it prints out leak info
7 years, 7 months ago (2013-05-10 14:36:18 UTC) #3
jvanverth1
lgtm
7 years, 7 months ago (2013-05-10 14:50:26 UTC) #4
robertphillips
committed as r9094
7 years, 7 months ago (2013-05-10 14:52:10 UTC) #5
bungeman-skia
7 years, 7 months ago (2013-05-10 17:30:36 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/15029008/diff/1/tools/filtermain.cpp
File tools/filtermain.cpp (right):

https://codereview.chromium.org/15029008/diff/1/tools/filtermain.cpp#newcode629
tools/filtermain.cpp:629: SkAutoTDelete<SkPicture> inPicture;
SkPicture is SkRefCnt, it seems odd to SkAutoTDelete it. Did you mean
SkAutoTUnref? SkAutoTDelete kida-sorta works here since you're the one creating
the picture, but that's somewhat magic knowledge.

Powered by Google App Engine
This is Rietveld 408576698