modules/demux/subtitle.c:2026: Memory leak: psz_text
There is a memory leak in modules/demux/subtitle.c:2026
Variable psz_text leaks memory here if VLC_EGENERIC is returned (please check other exists also, I only point out the first leak):
psz_text = strdup( s );
if( !psz_text )
return VLC_ENOMEM;
s = TextGetLine( txt );
if( !s )
return VLC_EGENERIC;