diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-04-05 00:06:19 +0400 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-04-05 00:06:19 +0400 |
commit | 1deec58ba308f66280e388071dbcc223c3728595 (patch) | |
tree | 64182bfb7b7127702d542aee79b17be833d80460 /libavfilter | |
parent | b9a7a65ab4e920e0bbdbd1b6d27e0cde07d63869 (diff) |
Fix memory leak.
Commited in SoC by Bobby Bingham on 2007-07-31 20:11:25
Originally committed as revision 12694 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/avfiltergraph.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 83b3ed2546..875ef0edca 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -75,6 +75,8 @@ static AVFilterContext *create_filter_with_args(const char *filt, void *opaque) } } else av_log(NULL, AV_LOG_ERROR, "error creating filter!\n"); + av_free(filter); + return ret; fail: |