projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92352a9
)
avfilter/graphparser: Directly free filter memory if initialization fails
author
Diego Biurrun
<diego@biurrun.de>
Wed, 6 Nov 2013 21:06:15 +0000
(22:06 +0100)
committer
Diego Biurrun
<diego@biurrun.de>
Wed, 6 Nov 2013 21:06:15 +0000
(22:06 +0100)
libavfilter/graphparser.c
patch
|
blob
|
history
diff --git
a/libavfilter/graphparser.c
b/libavfilter/graphparser.c
index
00764b6
..
e20dd62
100644
(file)
--- a/
libavfilter/graphparser.c
+++ b/
libavfilter/graphparser.c
@@
-130,6
+130,7
@@
static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind
if (args)
av_log(log_ctx, AV_LOG_ERROR, " with args '%s'", args);
av_log(log_ctx, AV_LOG_ERROR, "\n");
+ avfilter_free(*filt_ctx);
return ret;
}