summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavfilter/graphparser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index ea2270f935..794501ebe0 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -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));