This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avfilter/vf_pullup: fix memleak of metrics for last PullupField
Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.1
Paul B Mahol
11 years ago
parent
b7e7d8cdaf
commit
fe5b7612c0
1 changed files
with
6 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-6
libavfilter/vf_pullup.c
+ 6
- 6
libavfilter/vf_pullup.c
View File
@@ -718,17 +718,17 @@ static av_cold void uninit(AVFilterContext *ctx)
int i;
f = s->head;
do {
if (!f)
break;
while (f) {
av_free(f->diffs);
av_free(f->combs);
av_free(f->vars);
if (f == s->last) {
av_freep(&s->last);
break;
}
f = f->next;
av_freep(&f->prev);
} while (f != s->last);
av_freep(&s->last);
};
for (i = 0; i < FF_ARRAY_ELEMS(s->buffers); i++) {
av_freep(&s->buffers[i].planes[0]);
Write
Preview
Loading…
Cancel
Save