forked from enlightenment/efl
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:
parent
a4a7575491
commit
ff4cbfbc25
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue