es_out.c: fixed a slight memleak in "now playing" handling.

This one is slightly dangerous as it can happen over and over again during
normal operation.
parent 18f84613
......@@ -626,6 +626,7 @@ static void EsOutProgramMeta( es_out_t *out, int i_group, vlc_meta_t *p_meta )
}
if( psz_now_playing )
{
if( p_pgrm->psz_now_playing ) free( p_pgrm->psz_now_playing );
p_pgrm->psz_now_playing = strdup(psz_now_playing);
if( p_sys->p_pgrm == p_pgrm )
......
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