avfilter/vf_pullup: zero freed memory for saftey

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-03-26 18:37:15 +01:00
parent 5b0ce5d4e3
commit a44409e692

View File

@ -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);