On Mon, Feb 23, 2015 at 5:55 PM, <[email protected]> wrote: > From: Federico Tomassetti <[email protected]> > > Bug-Id: CID 1267902 > CC: [email protected] > --- > libavfilter/buffersrc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c > index 00e28f8..f768063 100644 > --- a/libavfilter/buffersrc.c > +++ b/libavfilter/buffersrc.c > @@ -195,6 +195,7 @@ do { > \ > ref_out = av_buffer_create(data, data_size, compat_unref_buffer, \ > dummy_ref, 0); \ > if (!ref_out) { \ > + av_freep(&dummy_ref); \ > av_frame_unref(frame); \ > ret = AVERROR(ENOMEM); \ > goto fail; \ > -- > 2.2.2
ok queueing with "buffersrc: Fix resource leak on error" -- Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
