diff options
author | Michael Niedermayer <[email protected]> | 2014-03-26 18:37:15 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2014-03-27 11:20:56 +0100 |
commit | 194485cfbaac25957721cc9cd1588678e0217f58 (patch) | |
tree | 648af33b0ecc2dbab5f67ac841344c8d307589c6 | |
parent | 81cfe391135c8c8161f1aed2ba808178f3800cc0 (diff) |
avfilter/vf_pullup: zero freed memory for saftey
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit a44409e692e8f369368215fb16b34749cff0d35c)
Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r-- | libavfilter/vf_pullup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_pullup.c b/libavfilter/vf_pullup.c index bf8456814f..73ffa68f8f 100644 --- a/libavfilter/vf_pullup.c +++ b/libavfilter/vf_pullup.c @@ -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); |