mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
lavfi/alphaextract: fix frame memleak.
This commit is contained in:
parent
f566ac48ce
commit
286153ea48
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user