aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-26 18:37:15 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-26 18:37:15 +0100
commita44409e692e8f369368215fb16b34749cff0d35c (patch)
tree587329da3983130e6b6b5a845f751e701ed2de0e /libavfilter
parent5b0ce5d4e3660fb0fc86779cbd027b47b1758c9f (diff)
downloadffmpeg-a44409e692e8f369368215fb16b34749cff0d35c.tar.gz
avfilter/vf_pullup: zero freed memory for saftey
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_pullup.c1
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);