projects
/
platform
/
core
/
uifw
/
dali-toolkit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Free GlyphData buffer
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
rendering
/
text-typesetter.cpp
diff --git
a/dali-toolkit/internal/text/rendering/text-typesetter.cpp
b/dali-toolkit/internal/text/rendering/text-typesetter.cpp
index
2689ffb
..
da397ac
100644
(file)
--- a/
dali-toolkit/internal/text/rendering/text-typesetter.cpp
+++ b/
dali-toolkit/internal/text/rendering/text-typesetter.cpp
@@
-1307,8
+1307,8
@@
Devel::PixelBuffer Typesetter::CreateImageBuffer(const uint32_t& bufferWidth, co
glyphData.verticalOffset += glyphData.glyphBitmap.outlineOffsetY;
}
glyphData.verticalOffset += glyphData.glyphBitmap.outlineOffsetY;
}
- //
delet
e the glyphBitmap.buffer as it is now copied into glyphData.bitmapBuffer
-
delete[] glyphData.glyphBitmap.buffer
;
+ //
fre
e the glyphBitmap.buffer as it is now copied into glyphData.bitmapBuffer
+
free(glyphData.glyphBitmap.buffer)
;
glyphData.glyphBitmap.buffer = NULL;
}
glyphData.glyphBitmap.buffer = NULL;
}