[vlc-commits] es_out: fix memory leak

Hannes Domani git at videolan.org
Wed Oct 21 18:16:24 CEST 2015


vlc/vlc-2.2 | branch: master | Hannes Domani <ssbssa at yahoo.de> | Tue Jul  7 19:22:01 2015 +0200| [c4ccf040b83ac83bf453ed7c5a26efdca2171a69] | committer: Jean-Baptiste Kempf

es_out: fix memory leak

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
(cherry picked from commit 3906a0a29f74cd2bc75cbfa7683d6e2b01b6e806)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=c4ccf040b83ac83bf453ed7c5a26efdca2171a69
---

 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 ddf01e1..324726d 100644
--- a/src/input/es_out.c
+++ b/src/input/es_out.c
@@ -1339,6 +1339,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 );
 }



More information about the vlc-commits mailing list