X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_unsharp.c;h=2b8d0460ef0d3e328750c548d7975a13c3e647c3;hb=38c3ffbd55deb91622a58d8e20b15d263aadf131;hp=37053d98e064fac15a857090c05a730e482c2659;hpb=0dcebe26209fbda0bac54789406e0a30c3a08247;p=ffmpeg diff --git a/libavfilter/vf_unsharp.c b/libavfilter/vf_unsharp.c index 37053d98e06..2b8d0460ef0 100644 --- a/libavfilter/vf_unsharp.c +++ b/libavfilter/vf_unsharp.c @@ -215,7 +215,7 @@ static void free_filter_param(UnsharpFilterParam *fp) int z; for (z = 0; z < 2 * fp->steps_y; z++) - av_free(fp->sc[z]); + av_freep(&fp->sc[z]); } static av_cold void uninit(AVFilterContext *ctx)