diff options
| author | 2013-02-20 13:20:03 -0800 | |
|---|---|---|
| committer | 2013-02-20 13:20:03 -0800 | |
| commit | 15641a6181cdaac2aadf07585de66483b4b7ae6b (patch) | |
| tree | 9921ccaec2a24f89e49fee585cbb3c082657642b /libs/hwui/FontRenderer.cpp | |
| parent | 404f87e54057bd09b9a504066d7d573db1e11eb3 (diff) | |
Use free for memory chunks allocated through memalign.
BUG: 8234423
Change-Id: Ic4100a780908c94540722cc4af5f73f4940431b4
Diffstat (limited to 'libs/hwui/FontRenderer.cpp')
| -rw-r--r-- | libs/hwui/FontRenderer.cpp | 2 |
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; } |