[FFmpeg-cvslog] avformat/utils: fix memory leak in avformat_free_context
ffmpeg | branch: release/3.1 | Steven Siloti| Tue Jul 18 11:26:39 2017 -0700| [ee17fdffd4cb55eb8533ec2684ce5d7c8cf1fb22] | committer: Michael Niedermayer avformat/utils: fix memory leak in avformat_free_context 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 Signed-off-by: Michael Niedermayer (cherry picked from commit 949debd1d1df3a96315b3a3083831162845c1188) Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ee17fdffd4cb55eb8533ec2684ce5d7c8cf1fb22 --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 46dc5109d1..5a35953d24 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4046,8 +4046,8 @@ void avformat_free_context(AVFormatContext *s) av_freep(>chapters); av_dict_free(>metadata); av_freep(>streams); -av_freep(>internal); flush_packet_queue(s); +av_freep(>internal); av_free(s); } ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
[FFmpeg-cvslog] avformat/utils: fix memory leak in avformat_free_context
ffmpeg | branch: release/3.2 | Steven Siloti| Tue Jul 18 11:26:39 2017 -0700| [16ee4057077b05e89a784cce1a17ec49b5e46ad2] | committer: Michael Niedermayer avformat/utils: fix memory leak in avformat_free_context 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 Signed-off-by: Michael Niedermayer (cherry picked from commit 949debd1d1df3a96315b3a3083831162845c1188) Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=16ee4057077b05e89a784cce1a17ec49b5e46ad2 --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index cea3ab5a93..3e59e50bb1 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4172,8 +4172,8 @@ void avformat_free_context(AVFormatContext *s) av_freep(>chapters); av_dict_free(>metadata); av_freep(>streams); -av_freep(>internal); flush_packet_queue(s); +av_freep(>internal); av_free(s); } ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
[FFmpeg-cvslog] avformat/utils: fix memory leak in avformat_free_context
ffmpeg | branch: release/3.3 | Steven Siloti| Tue Jul 18 11:26:39 2017 -0700| [fd871e24e65b2d3d91b060b5e878f37c9ee5cdff] | committer: Michael Niedermayer avformat/utils: fix memory leak in avformat_free_context 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 Signed-off-by: Michael Niedermayer (cherry picked from commit 949debd1d1df3a96315b3a3083831162845c1188) Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fd871e24e65b2d3d91b060b5e878f37c9ee5cdff --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index a9f8cf6f84..ff55fc8d97 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4199,8 +4199,8 @@ void avformat_free_context(AVFormatContext *s) av_dict_free(>metadata); av_dict_free(>internal->id3v2_meta); av_freep(>streams); -av_freep(>internal); flush_packet_queue(s); +av_freep(>internal); av_free(s); } ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
[FFmpeg-cvslog] avformat/utils: fix memory leak in avformat_free_context
ffmpeg | branch: release/2.8 | Steven Siloti| Tue Jul 18 11:26:39 2017 -0700| [f0f45d84045307eeca5d0ec950ddcea702c68997] | committer: Michael Niedermayer avformat/utils: fix memory leak in avformat_free_context 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 Signed-off-by: Michael Niedermayer (cherry picked from commit 949debd1d1df3a96315b3a3083831162845c1188) Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f0f45d84045307eeca5d0ec950ddcea702c68997 --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index a88d9598dc..b2a838bef4 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3723,8 +3723,8 @@ void avformat_free_context(AVFormatContext *s) av_freep(>chapters); av_dict_free(>metadata); av_freep(>streams); -av_freep(>internal); flush_packet_queue(s); +av_freep(>internal); av_free(s); } ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
[FFmpeg-cvslog] avformat/utils: fix memory leak in avformat_free_context
ffmpeg | branch: master | Steven Siloti| Tue Jul 18 11:26:39 2017 -0700| [949debd1d1df3a96315b3a3083831162845c1188] | committer: Michael Niedermayer avformat/utils: fix memory leak in avformat_free_context 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 Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=949debd1d1df3a96315b3a3083831162845c1188 --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 38d247c6cd..58283616dc 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -4333,8 +4333,8 @@ void avformat_free_context(AVFormatContext *s) av_dict_free(>metadata); av_dict_free(>internal->id3v2_meta); av_freep(>streams); -av_freep(>internal); flush_packet_queue(s); +av_freep(>internal); av_free(s); } ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog