Browse Source

avfilter/can_merge_formats: fix memleak

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

+ 1
- 0
libavfilter/avfiltergraph.c View File

@@ -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…
Cancel
Save