lavfi/alphaextract: fix frame memleak.

This commit is contained in:
Clément Bœsch 2013-03-17 02:57:43 +01:00
parent f566ac48ce
commit 286153ea48

View File

@ -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;
}