Commit 4d4f431a authored by Michael Niedermayer's avatar Michael Niedermayer

vf_idet: zero pointers after freeing references

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cac749a5
......@@ -254,9 +254,9 @@ static av_cold void uninit(AVFilterContext *ctx)
idet->poststat[UNDETERMINED]
);
avfilter_unref_buffer(idet->prev);
avfilter_unref_buffer(idet->cur );
avfilter_unref_buffer(idet->next);
avfilter_unref_bufferp(&idet->prev);
avfilter_unref_bufferp(&idet->cur );
avfilter_unref_bufferp(&idet->next);
}
static int query_formats(AVFilterContext *ctx)
......
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