avfilter/vf_lensfun: use av_freep
This commit is contained in:
@@ -510,10 +510,8 @@ static av_cold void uninit(AVFilterContext *ctx)
|
|||||||
lf_lens_destroy(lensfun->lens);
|
lf_lens_destroy(lensfun->lens);
|
||||||
if (lensfun->modifier)
|
if (lensfun->modifier)
|
||||||
lf_modifier_destroy(lensfun->modifier);
|
lf_modifier_destroy(lensfun->modifier);
|
||||||
if (lensfun->distortion_coords)
|
av_freep(&lensfun->distortion_coords);
|
||||||
av_free(lensfun->distortion_coords);
|
av_freep(&lensfun->interpolation);
|
||||||
if (lensfun->interpolation)
|
|
||||||
av_free(lensfun->interpolation);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static const AVFilterPad lensfun_inputs[] = {
|
static const AVFilterPad lensfun_inputs[] = {
|
||||||
|
Reference in New Issue
Block a user