Commit 9b4453a6 authored by sigmunau's avatar sigmunau
Browse files

freetype.c: fixed crash on unbreakable strings

parent d89fa64a
......@@ -703,6 +703,8 @@ static line_desc_t *NewLine( byte_t *psz_string )
free( p_line );
return NULL;
}
p_line->pp_glyphs[0] = NULL;
p_line->p_glyph_pos = malloc( sizeof( FT_Vector )
* i_count + 1 );
if( p_line->p_glyph_pos == NULL )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment