fix memory leak
git-svn-id: http://skia.googlecode.com/svn/trunk@471 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
99e1b90d5b
commit
d0a529d028
@ -108,7 +108,7 @@ static void TestBitmapCopy(skiatest::Reporter* reporter) {
|
||||
ct = init_ctable();
|
||||
}
|
||||
src.allocPixels(ct);
|
||||
ct->safeRef();
|
||||
SkSafeUnref(ct);
|
||||
|
||||
init_src(src);
|
||||
bool success = src.copyTo(&dst, gPairs[j].fConfig);
|
||||
|
Loading…
Reference in New Issue
Block a user