]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
One more memory leak
authorvitor <vitor@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 24 May 2008 20:42:32 +0000 (20:42 +0000)
committervitor <vitor@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 24 May 2008 20:42:32 +0000 (20:42 +0000)
Commited in SoC by Vitor Sessak on 2008-05-24 17:18:03

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13359 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavfilter/graphparser.c

index ea2270f935cb8ca4f01f7bd72be32373b2bc0ffd..794501ebe0bf1a8611d69172edcd389f34274db5 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));