History

avfilter/af_acrossover: free all output frames on error

Paul B Mahol committed 6 years ago

Commit 7e8721e1 parent cd671ea1 file · +2 −0Browse files

Unified · Split

libavfilter/af_acrossover.c+2−0
@@ -303,6 +303,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) · 302 unmodified lines
303303 }
304304
305305 fail:
306+ for (i = 0; i < ctx->nb_outputs; i++)
307+ av_frame_free(&frames[i]);
306308 av_frame_free(&in);
307309 s->input_frame = NULL;
308310

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