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
Using delete[] for pointer that created with new[]
[platform/core/uifw/dali-toolkit.git]
/
dali-toolkit
/
internal
/
text
/
logical-model-impl.cpp
diff --git
a/dali-toolkit/internal/text/logical-model-impl.cpp
b/dali-toolkit/internal/text/logical-model-impl.cpp
index
6fbabb1
..
66c6d89
100755
(executable)
--- a/
dali-toolkit/internal/text/logical-model-impl.cpp
+++ b/
dali-toolkit/internal/text/logical-model-impl.cpp
@@
-38,7
+38,7
@@
void FreeFontFamilyNames( Vector<FontDescriptionRun>& fontDescriptionRuns )
it != endIt;
++it )
{
- delete (*it).familyName;
+ delete
[]
(*it).familyName;
}
fontDescriptionRuns.Clear();