diff options
author | Chris Michael <cp.michael@samsung.com> | 2013-06-28 14:13:09 +0100 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2013-06-28 14:13:09 +0100 |
commit | 694d1600e8620693dd8b1ca467d0de7dbe5150ac (patch) | |
tree | 2ff308ad6b6b1de149cd538cddf3272d98e24246 /src/lib/evas/common | |
parent | dd136b82e299a57f1e8d5d1bfa4f11f8857887a3 (diff) |
We should free glyph_out also (as that gets malloc'd too) on error.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/evas/common')
-rw-r--r-- | src/lib/evas/common/evas_font_draw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/common/evas_font_draw.c b/src/lib/evas/common/evas_font_draw.c index 482f48a0fc..cea367a0af 100644 --- 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) | |||
338 | return; | 338 | return; |
339 | 339 | ||
340 | error: | 340 | error: |
341 | if (fg->glyph_out) free(fg->glyph_out); | ||
341 | if (fg) free(fg); | 342 | if (fg) free(fg); |
342 | eina_inarray_free(glyphs); | 343 | eina_inarray_free(glyphs); |
343 | } | 344 | } |