SkDELETE() -> SkDELETE_ARRAY() in gradients_many test
Attempt to fix valgrind failure: http://108.170.220.120:10117/builders/Test-Ubuntu12-ShuttleA-ATI5770-x86_64-Release-Valgrind/builds/489/steps/GenerateGMs/logs/stdio TBR=reed@google.com Review URL: https://codereview.chromium.org/245273002 git-svn-id: http://skia.googlecode.com/svn/trunk@14280 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
66d3d3a8c2
commit
c25cec5f9a
@ -134,8 +134,8 @@ struct ColorPos {
|
||||
|
||||
ColorPos() : fColors(NULL), fPos(NULL), fCount(0) {}
|
||||
~ColorPos() {
|
||||
SkDELETE(fColors);
|
||||
SkDELETE(fPos);
|
||||
SkDELETE_ARRAY(fColors);
|
||||
SkDELETE_ARRAY(fPos);
|
||||
}
|
||||
|
||||
void construct(const SkColor colors[], const SkScalar pos[], int count) {
|
||||
|
Loading…
Reference in New Issue
Block a user