[vlc-devel] [PATCH 2/2] es_out: fix memory leak
Hannes Domani
ssbssa at yahoo.de
Tue Jul 7 19:22:01 CEST 2015
---
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 3ca04db..2443316 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -1352,6 +1352,7 @@ static void EsOutProgramUpdateScrambled( es_out_t *p_out, es_out_pgrm_t *p_pgrm
input_Control( p_input, INPUT_ADD_INFO, psz_cat, _("Scrambled"), _("Yes") );
else
input_Control( p_input, INPUT_DEL_INFO, psz_cat, _("Scrambled") );
+ free( psz_cat );
input_SendEventProgramScrambled( p_input, p_pgrm->i_id, b_scrambled );
}
--
2.4.5
More information about the vlc-devel
mailing list