Re: [FFmpeg-devel] [PATCH 112/134] avcodec/flacenc: Fix memleak upon init error

2021-04-02 Thread Andreas Rheinhardt
On Mon, Nov 30, 2020 at 1:56 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > An AVMD5 struct would leak if an error happened after its allocation. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/flacenc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec

[FFmpeg-devel] [PATCH 112/134] avcodec/flacenc: Fix memleak upon init error

2020-11-29 Thread Andreas Rheinhardt
An AVMD5 struct would leak if an error happened after its allocation. Signed-off-by: Andreas Rheinhardt --- libavcodec/flacenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/flacenc.c b/libavcodec/flacenc.c index 8e7dbc52b4..a2aa4bdf17 100644 --- a/libavcodec/flacenc.c +++ b/li