[FFmpeg-devel] [PATCH v2] avcodec/libvpxenc: fix potential memory leak.

2021-02-16 Thread Wonkap Jang
While parsing ref_frame_config, AVdictionary needs to be manually deallocated. --- libavcodec/libvpxenc.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 284cb9a108..e71ae54f34 100644 --- a/libavcodec/l

Re: [FFmpeg-devel] [PATCH v2] avcodec/libvpxenc: fix potential memory leak.

2021-02-16 Thread James Zern
On Tue, Feb 16, 2021 at 2:29 PM Wonkap Jang wrote: > > While parsing ref_frame_config, AVdictionary needs to be manually > deallocated. > --- > libavcodec/libvpxenc.c | 20 +--- > 1 file changed, 13 insertions(+), 7 deletions(-) > > diff --git a/libavcodec/libvpxenc.c b/libavcodec