History

avfilter/vf_morpho: Fix leak of output frame on error

Andreas Rheinhardt committed 5 years ago

Commit beded391 parent 7a446b11 file · +1 −0Browse files

Unified · Split

libavfilter/vf_morpho.c+1−0
@@ -932,6 +932,7 @@ copy: · 931 unmodified lines
932932 out->pts = av_rescale_q(s->fs.pts, s->fs.time_base, outlink->time_base);
933933 return ff_filter_frame(outlink, out);
934934 fail:
935+ av_frame_free(&out);
935936 av_frame_free(&in);
936937 return ret;
937938 }

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