diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-07-25 16:54:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-25 16:54:04 +0200 |
commit | de0a1f63dff904fc30361e793400b7b9e427e31d (patch) | |
tree | 717211dac09f7e1163603cfc63b2d8ead61aacea /libavfilter/avfiltergraph.c | |
parent | 6bde1e9d14ff1e0ecff74b8ff59607f545c6f2ec (diff) | |
download | ffmpeg-de0a1f63dff904fc30361e793400b7b9e427e31d.tar.gz |
avfilter/can_merge_formats: fix memleak
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r-- | libavfilter/avfiltergraph.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 2f6f2fd9be..3bb5047583 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -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 { |