Re: [FFmpeg-devel] [PATCH V1 3/4] lavf/avidec: fix memory leak in error handling path

2019-09-10 Thread Michael Niedermayer
On Tue, Sep 10, 2019 at 07:39:27PM +0800, Jun Zhao wrote: > From: Jun Zhao > > free the value in error handling path to avoid the memory leak. > > Signed-off-by: Jun Zhao > --- > libavformat/avidec.c |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/libavformat/

[FFmpeg-devel] [PATCH V1 3/4] lavf/avidec: fix memory leak in error handling path

2019-09-10 Thread Jun Zhao
From: Jun Zhao free the value in error handling path to avoid the memory leak. Signed-off-by: Jun Zhao --- libavformat/avidec.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index df78925..e3cd844 100644 --- a/libavforma