summaryrefslogtreecommitdiff
path: root/libs/hwui/TextDropShadowCache.cpp
diff options
context:
space:
mode:
author Chris Craik <ccraik@google.com> 2013-02-13 19:50:23 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2013-02-13 19:50:24 +0000
commit68b600913b699da0fbfcd9d913e4c4fdb08e06b8 (patch)
tree202989fdd57cbe05e7fb0324793ce0652205537b /libs/hwui/TextDropShadowCache.cpp
parent769a5b72dc076facae20154bf5d55b9810322b87 (diff)
parentbf5703e52e3304246cbf0e73f6976f7d7312d238 (diff)
Merge "Revert "Use RenderScript for large text blurs""
Diffstat (limited to 'libs/hwui/TextDropShadowCache.cpp')
-rw-r--r--libs/hwui/TextDropShadowCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/TextDropShadowCache.cpp b/libs/hwui/TextDropShadowCache.cpp
index db7bd489b404..9c7a5ab3d077 100644
--- a/libs/hwui/TextDropShadowCache.cpp
+++ b/libs/hwui/TextDropShadowCache.cpp
@@ -222,7 +222,7 @@ ShadowTexture* TextDropShadowCache::get(SkPaint* paint, const char* text, uint32
}
// Cleanup shadow
- delete shadow.image;
+ delete[] shadow.image;
}
return texture;