mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
avfilter picture pool: double free hotfix
This fix introduces a small memleak Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6cbe81999b
commit
90c6963dae
@ -182,10 +182,11 @@ void avfilter_link_free(AVFilterLink **link)
|
||||
|
||||
av_freep(&picref->audio);
|
||||
av_freep(&picref->video);
|
||||
av_freep(&picref);
|
||||
av_freep(&(*link)->pool->pic[i]);
|
||||
}
|
||||
}
|
||||
av_freep(&(*link)->pool);
|
||||
(*link)->pool->count = 0;
|
||||
// av_freep(&(*link)->pool);
|
||||
}
|
||||
av_freep(link);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user