OSDN Git Service

Fix memory leak.
authorVitor Sessak <vitor1001@gmail.com>
Fri, 4 Apr 2008 20:06:19 +0000 (20:06 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Fri, 4 Apr 2008 20:06:19 +0000 (20:06 +0000)
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

libavfilter/avfiltergraph.c

index 83b3ed2..875ef0e 100644 (file)
@@ -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: