forked from enlightenment/efl
Fix klockwork memleak: If we allocate space for a Font Glyph (through
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>
This commit is contained in:
parent
7e222b949c
commit
dd136b82e2
|
@ -338,6 +338,7 @@ evas_common_font_draw_prepare(Evas_Text_Props *text_props)
|
|||
return;
|
||||
|
||||
error:
|
||||
if (fg) free(fg);
|
||||
eina_inarray_free(glyphs);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue