Browse code

avfilter/vf_pullup: zero freed memory for saftey

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit a44409e692e8f369368215fb16b34749cff0d35c)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2014/03/27 02:37:15
Showing 1 changed files
... ...
@@ -137,6 +137,7 @@ static void free_field_queue(PullupField *head)
137 137
         av_free(f->combs);
138 138
         av_free(f->vars);
139 139
         next = f->next;
140
+        memset(f, 0, sizeof(*f));
140 141
         av_free(f);
141 142
         f = next;
142 143
     } while (f != head);