One more memory leak
authorVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:42:32 +0000 (20:42 +0000)
committerVitor Sessak <vitor1001@gmail.com>
Sat, 24 May 2008 20:42:32 +0000 (20:42 +0000)
Commited in SoC by Vitor Sessak on 2008-05-24 17:18:03

Originally committed as revision 13359 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/graphparser.c

index ea2270f..794501e 100644 (file)
@@ -281,6 +281,7 @@ static int parse_inputs(const char **buf, AVFilterInOut **currInputs,
                        "Label \"%s\" appears twice as input!\n", match->name);
                 return -1;
             }
+            av_free(name);
         } else {
             /* Not in the list, so add it as an input */
             match = av_mallocz(sizeof(AVFilterInOut));