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:
Chris Michael 2013-06-28 14:13:09 +01:00
parent dd136b82e2
commit 694d1600e8
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}