Re: [FFmpeg-devel] [PATCH 1/7] avformat/utils: Check allocations for failure

2021-04-02 Thread Andreas Rheinhardt
Andreas Rheinhardt: > There would be leaks in case of failure. > > Signed-off-by: Andreas Rheinhardt > --- > There is unfortunately more of this dynarray_add. > > libavformat/utils.c | 16 > 1 file changed, 12 insertions(+), 4 deletions(-) > > diff --git a/libavformat/utils.c

[FFmpeg-devel] [PATCH 1/7] avformat/utils: Check allocations for failure

2021-04-01 Thread Andreas Rheinhardt
There would be leaks in case of failure. Signed-off-by: Andreas Rheinhardt --- There is unfortunately more of this dynarray_add. libavformat/utils.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 0834c80f4e..