Commit 0ce7005d authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_lensfun: use av_freep

parent bf5bdbdb
......@@ -510,10 +510,8 @@ static av_cold void uninit(AVFilterContext *ctx)
lf_lens_destroy(lensfun->lens);
if (lensfun->modifier)
lf_modifier_destroy(lensfun->modifier);
if (lensfun->distortion_coords)
av_free(lensfun->distortion_coords);
if (lensfun->interpolation)
av_free(lensfun->interpolation);
av_freep(&lensfun->distortion_coords);
av_freep(&lensfun->interpolation);
}
static const AVFilterPad lensfun_inputs[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment