Re: [FFmpeg-devel] [PATCH 4/4] avformat/gxfenc: Add deinit function

2020-01-26 Thread Michael Niedermayer
On Sun, Jan 26, 2020 at 11:27:39AM +0100, Andreas Rheinhardt wrote: > Fixes memleaks when the trailer is never written (e.g. if the call to > gxf_write_map_packet() at the end of gxf_write_header() fails). > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/gxfenc.c | 14 ++ >

[FFmpeg-devel] [PATCH 4/4] avformat/gxfenc: Add deinit function

2020-01-26 Thread Andreas Rheinhardt
Fixes memleaks when the trailer is never written (e.g. if the call to gxf_write_map_packet() at the end of gxf_write_header() fails). Signed-off-by: Andreas Rheinhardt --- libavformat/gxfenc.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/libavformat/gxfenc.