summaryrefslogtreecommitdiff
path: root/libs/hwui/TextDropShadowCache.cpp
diff options
context:
space:
mode:
authorBen Cheng <bccheng@google.com>2013-02-20 13:20:03 -0800
committerBen Cheng <bccheng@google.com>2013-02-20 13:20:03 -0800
commit15641a6181cdaac2aadf07585de66483b4b7ae6b (patch)
tree9921ccaec2a24f89e49fee585cbb3c082657642b /libs/hwui/TextDropShadowCache.cpp
parent404f87e54057bd09b9a504066d7d573db1e11eb3 (diff)
Use free for memory chunks allocated through memalign.
BUG: 8234423 Change-Id: Ic4100a780908c94540722cc4af5f73f4940431b4
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..f1f35bd1711c 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;
+ free(shadow.image);
}
return texture;