mirror of
https://code.videolan.org/videolan/vlc
synced 2024-10-03 01:31:53 +02:00
text_renderer: freetype: fix memory leak in AnalyzeParagraph
fixes: #20881 Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
This commit is contained in:
parent
6b96ade7dd
commit
a2b5b5337d
@ -470,6 +470,7 @@ static int AnalyzeParagraph( paragraph_t *p_paragraph )
|
||||
for( int i = 0; i < p_paragraph->i_size; ++i )
|
||||
p_paragraph->p_scripts[ i ] =
|
||||
hb_unicode_script( p_funcs, p_paragraph->p_code_points[ i ] );
|
||||
hb_unicode_funcs_destroy( p_funcs );
|
||||
|
||||
hb_script_t i_last_script;
|
||||
int i_last_script_index = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user