From 15641a6181cdaac2aadf07585de66483b4b7ae6b Mon Sep 17 00:00:00 2001 From: Ben Cheng Date: Wed, 20 Feb 2013 13:20:03 -0800 Subject: Use free for memory chunks allocated through memalign. BUG: 8234423 Change-Id: Ic4100a780908c94540722cc4af5f73f4940431b4 --- libs/hwui/TextDropShadowCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/hwui/TextDropShadowCache.cpp') 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; -- cgit v1.2.3-59-g8ed1b