forked from FFmpeg/FFmpeg
avfilter/can_merge_formats: fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6bde1e9d14
commit
de0a1f63df
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue