forked from enlightenment/efl
We should free glyph_out also (as that gets malloc'd too) on error.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
dd136b82e2
commit
694d1600e8
|
@ -338,6 +338,7 @@ evas_common_font_draw_prepare(Evas_Text_Props *text_props)
|
|||
return;
|
||||
|
||||
error:
|
||||
if (fg->glyph_out) free(fg->glyph_out);
|
||||
if (fg) free(fg);
|
||||
eina_inarray_free(glyphs);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue