summaryrefslogtreecommitdiff
path: root/libs/hwui/FontRenderer.cpp
diff options
context:
space:
mode:
author Ben Cheng <bccheng@google.com> 2013-02-20 22:34:57 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2013-02-20 22:34:58 +0000
commit7a60c43d874bd047ea4b93b94c9b8771ea5739cc (patch)
tree584beb1d903ea697e7268bd94aa71407065782aa /libs/hwui/FontRenderer.cpp
parent780294be50b57d94455c709044e36098c829f72a (diff)
parent15641a6181cdaac2aadf07585de66483b4b7ae6b (diff)
Merge "Use free for memory chunks allocated through memalign."
Diffstat (limited to 'libs/hwui/FontRenderer.cpp')
-rw-r--r--libs/hwui/FontRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp
index 5d5e6a58001e..1d9eb0e0793b 100644
--- a/libs/hwui/FontRenderer.cpp
+++ b/libs/hwui/FontRenderer.cpp
@@ -797,7 +797,7 @@ void FontRenderer::blurImage(uint8_t** image, int32_t width, int32_t height, int
mRsScript->blur(ain, aout);
// replace the original image's pointer, avoiding a copy back to the original buffer
- delete *image;
+ free(*image);
*image = outImage;
}