Re: [FFmpeg-devel] [PATCH 1/3] avfilter/avfilter: Fix leaks upon filter creation error

2021-08-11 Thread Andreas Rheinhardt
Nicolas George: > Andreas Rheinhardt (12021-08-11): >> Both the name as well as the options need to be freed. >> (Right now there is no option for the AVFilterContext itself that could >> leak, but some filters have options (e.g. of type AV_OPT_TYPE_STRING) >> that can leak.) >> >> Signed-off-by:

Re: [FFmpeg-devel] [PATCH 1/3] avfilter/avfilter: Fix leaks upon filter creation error

2021-08-11 Thread Nicolas George
Andreas Rheinhardt (12021-08-11): > Both the name as well as the options need to be freed. > (Right now there is no option for the AVFilterContext itself that could > leak, but some filters have options (e.g. of type AV_OPT_TYPE_STRING) > that can leak.) > > Signed-off-by: Andreas Rheinhardt