[vlc-commits] demux: ts: fix leak (unlikely)

Francois Cartegnie git at videolan.org
Sat Apr 2 22:32:19 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Apr  2 10:55:39 2016 +0200| [47d0c64e30d0f434f710edf4dc4143950766a686] | committer: Francois Cartegnie

demux: ts: fix leak (unlikely)

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

 modules/demux/mpeg/ts.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/mpeg/ts.c b/modules/demux/mpeg/ts.c
index c2b1105..55330c5 100644
--- a/modules/demux/mpeg/ts.c
+++ b/modules/demux/mpeg/ts.c
@@ -2341,6 +2341,7 @@ static bool ProcessTSPacket( demux_t *p_demux, ts_pid_t *pid, block_t *p_pkt )
     }
     else // pid->u.p_pes->transport == TS_TRANSPORT_IGNORE
     {
+        block_Release( p_pkt );
         return VLC_DEMUXER_SUCCESS;
     }
 }



More information about the vlc-commits mailing list