mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
lavfi/alphaextract: fix frame memleak.
This commit is contained in:
@@ -98,7 +98,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *cur_buf)
|
||||
ret = ff_filter_frame(outlink, out_buf);
|
||||
|
||||
end:
|
||||
av_frame_unref(cur_buf);
|
||||
av_frame_free(&cur_buf);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user