Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2890)

Issue 6441095: Fixing leak of SkPixelRef object in CanvasTest (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by junov1
Modified:
12 years, 1 month ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Fixing leak of SkPixelRef object in CanvasTest Committed: https://code.google.com/p/skia/source/detail?r=4925

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M tests/CanvasTest.cpp View 1 chunk +2 lines, -0 lines 1 comment Download

Messages

Total messages: 2
junov1
12 years, 1 month ago (2012-08-02 15:33:32 UTC) #1
reed1
12 years, 1 month ago (2012-08-02 15:43:08 UTC) #2
lgtm w/ additional comment in the code

https://codereview.appspot.com/6441095/diff/1/tests/CanvasTest.cpp
File tests/CanvasTest.cpp (right):

https://codereview.appspot.com/6441095/diff/1/tests/CanvasTest.cpp#newcode888
tests/CanvasTest.cpp:888: 
// Explicitly call reset(), so we don't leak the pixels (since kTestBitmap is a
global)
Sign in to reply to this message.

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