Commit 3906a0a2 authored by Hannes Domani's avatar Hannes Domani Committed by Rémi Denis-Courmont

es_out: fix memory leak

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 4b8e7b83
...@@ -1352,6 +1352,7 @@ static void EsOutProgramUpdateScrambled( es_out_t *p_out, es_out_pgrm_t *p_pgrm ...@@ -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") ); input_Control( p_input, INPUT_ADD_INFO, psz_cat, _("Scrambled"), _("Yes") );
else else
input_Control( p_input, INPUT_DEL_INFO, psz_cat, _("Scrambled") ); input_Control( p_input, INPUT_DEL_INFO, psz_cat, _("Scrambled") );
free( psz_cat );
input_SendEventProgramScrambled( p_input, p_pgrm->i_id, b_scrambled ); input_SendEventProgramScrambled( p_input, p_pgrm->i_id, b_scrambled );
} }
......
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