evas: fix a segfault in _draw_thread_font_draw, caused by the missing initialisation of a struct field

CC: cedric

Differential Revision: https://phab.enlightenment.org/D407

Signed-off-by: Cedric BAIL <cedric.bail@samsung.com>
This commit is contained in:
Dennis Schridde 2013-12-26 10:32:40 +09:00 committed by Cedric BAIL
parent a4a7575491
commit ff4cbfbc25
1 changed files with 1 additions and 0 deletions

View File

@ -2127,6 +2127,7 @@ _draw_thread_font_draw(void *data)
{
Evas_Thread_Command_Font *font = data;
RGBA_Draw_Context dc;
memset(&dc, 0, sizeof(dc));
dc.font_ext.data = font->font_ext_data;
dc.font_ext.func.gl_new = font->gl_new;