Commit 84e34f9c authored by Rémi Duraffort's avatar Rémi Duraffort Committed by Derk-Jan Hartman

FIx potential segfault (CID 168)

(cherry picked from commit a5ad91e7)
Signed-off-by: default avatarDerk-Jan Hartman <hartman@videolan.org>
parent 767b81f8
......@@ -510,6 +510,7 @@ int osd_parser_simpleOpen( vlc_object_t *p_this )
error:
msg_Err( p_menu, "parsing file failed (returned %d)", result );
if( p_menu )
osd_MenuFree( p_menu );
fclose( fd );
return VLC_EGENERIC;
......
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