Browse Source

avfilter/vf_pullup: zero freed memory for saftey

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
a44409e692
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/vf_pullup.c

+ 1
- 0
libavfilter/vf_pullup.c 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);


Loading…
Cancel
Save