diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-21 15:30:45 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-21 15:30:45 +0000 |
commit | c25cec5f9aa4e8801ae87854adc629c742b9de59 (patch) | |
tree | 7879bf0cc68625d21fbc308d272b32ea91ad30f8 /gm/gradients_no_texture.cpp | |
parent | 66d3d3a8c2f09ed254ec9153f310abd7f7222b13 (diff) |
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
Diffstat (limited to 'gm/gradients_no_texture.cpp')
-rw-r--r-- | gm/gradients_no_texture.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gm/gradients_no_texture.cpp b/gm/gradients_no_texture.cpp index 931fea677e..8086eabbf4 100644 --- a/gm/gradients_no_texture.cpp +++ b/gm/gradients_no_texture.cpp @@ -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) { |