Commit a44409e6 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_pullup: zero freed memory for saftey

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 5b0ce5d4
......@@ -137,6 +137,7 @@ static void free_field_queue(PullupField *head)
av_free(f->combs);
av_free(f->vars);
next = f->next;
memset(f, 0, sizeof(*f));
av_free(f);
f = next;
} while (f != head);
......
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