You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/can_merge_formats: fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -390,6 +390,7 @@ static int can_merge_formats(AVFilterFormats *a_arg,
|
||||
}
|
||||
if (ret) {
|
||||
av_freep(&ret->formats);
|
||||
av_freep(&ret->refs);
|
||||
av_freep(&ret);
|
||||
return 1;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user