From 355e0a3776c72500f16f9d6cccc28682c812969b Mon Sep 17 00:00:00 2001 From: Sigmund Augdal Helberg Date: Thu, 2 Feb 2006 11:59:15 +0000 Subject: [PATCH 1/1] 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. --- src/input/es_out.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/input/es_out.c b/src/input/es_out.c index 02b6d07d36..c02a8711e9 100644 --- a/src/input/es_out.c +++ b/src/input/es_out.c @@ -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 ) -- 2.39.2