X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Faf_anequalizer.c;h=ee82474083e57a54eec0476c8c0cefbc91e02263;hb=53d31e91c5302131cf0631c053d04f09b36897ee;hp=03d939f170d17ed21b4d297f1eedee63ef87e1c1;hpb=79025da3f2e7ab047c8f3c0c817952a98480b26b;p=ffmpeg diff --git a/libavfilter/af_anequalizer.c b/libavfilter/af_anequalizer.c index 03d939f170d..ee82474083e 100644 --- a/libavfilter/af_anequalizer.c +++ b/libavfilter/af_anequalizer.c @@ -205,8 +205,10 @@ static av_cold int init(AVFilterContext *ctx) .type = AVMEDIA_TYPE_VIDEO, .config_props = config_video, }; - if (!vpad.name) + if (!vpad.name) { + av_freep(&pad.name); return AVERROR(ENOMEM); + } } ret = ff_insert_outpad(ctx, 0, &pad);