projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e222b9
)
Fix klockwork memleak: If we allocate space for a Font Glyph (through
author
Chris Michael
<cp.michael@samsung.com>
Fri, 28 Jun 2013 13:02:00 +0000
(14:02 +0100)
committer
Chris Michael
<cp.michael@samsung.com>
Fri, 28 Jun 2013 13:02:00 +0000
(14:02 +0100)
evas_common_font_int_cache_glyph_get), then we should free that
allocation when we have an error.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/lib/evas/common/evas_font_draw.c
patch
|
blob
|
history
diff --git
a/src/lib/evas/common/evas_font_draw.c
b/src/lib/evas/common/evas_font_draw.c
index
aa334b8
..
482f48a
100644
(file)
--- a/
src/lib/evas/common/evas_font_draw.c
+++ b/
src/lib/evas/common/evas_font_draw.c
@@
-338,6
+338,7
@@
evas_common_font_draw_prepare(Evas_Text_Props *text_props)
return;
error:
+ if (fg) free(fg);
eina_inarray_free(glyphs);
}