History

avfilter/graphparser: Directly free filter memory if initialization fails

Diego Biurrun committed 13 years ago

Commit cffecc01 parent 92352a91 file · +1 −0Browse files

Showing the changes to libavfilter/graphparser.c (1 of 1 file). Show all

Unified · Split

libavfilter/graphparser.c+1−0
@@ -130,6 +130,7 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind · 129 unmodified lines
130 if (args)130 if (args)
131 av_log(log_ctx, AV_LOG_ERROR, " with args '%s'", args);131 av_log(log_ctx, AV_LOG_ERROR, " with args '%s'", args);
132 av_log(log_ctx, AV_LOG_ERROR, "\n");132 av_log(log_ctx, AV_LOG_ERROR, "\n");
133 avfilter_free(*filt_ctx);
133 return ret;134 return ret;
134 }135 }
135 136

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t