[FFmpeg-devel] [PATCH] avformat/utils: fix freeing packet queue in avformat_free_context

2017-07-18 Thread Steven Siloti
The packet queue is referenced in internal so it needs to be flushed before the internal structure is freed. Signed-off-by: Steven Siloti --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 38d247c6cd

[FFmpeg-devel] [PATCH] avformat/utils: fix memory leak in avformat_free_context

2017-07-31 Thread Steven Siloti
The pointer to the packet queue is stored in the internal structure so the queue needs to be flushed before internal is freed. Signed-off-by: Steven Siloti --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index

Re: [FFmpeg-devel] [PATCH] avformat/utils: fix memory leak in avformat_free_context

2017-08-03 Thread Steven Siloti
On Mon, Jul 31, 2017 at 11:08 AM, Steven Siloti wrote: > The pointer to the packet queue is stored in the internal structure > so the queue needs to be flushed before internal is freed. > > Signed-off-by: Steven Siloti > --- > libavformat/utils.c | 2 +- > 1 file chang