diff --git a/libav/mpegts.c b/libav/mpegts.c index 0c51ae1cad..54426d721a 100644 --- a/libav/mpegts.c +++ b/libav/mpegts.c @@ -294,7 +294,7 @@ static int mpegts_read_close(AVFormatContext *s) MpegTSContext *ts = s->priv_data; int i; for(i=0;ipids[i]); + av_free(ts->pids[i]); return 0; }