Hi, On Thu, Feb 23, 2012 at 4:15 PM, Paul B Mahol <[email protected]> wrote: > > Signed-off-by: Paul B Mahol <[email protected]> > --- > libavformat/apetag.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/libavformat/apetag.c b/libavformat/apetag.c > index 378ae10..68c987e 100644 > --- a/libavformat/apetag.c > +++ b/libavformat/apetag.c > @@ -75,8 +75,10 @@ static int ape_tag_read_field(AVFormatContext *s) > if (!value) > return AVERROR(ENOMEM); > c = avio_read(pb, value, size); > - if (c < 0) > + if (c < 0) { > + av_free(value); > return c; > + }
Thanks you, pushed. Ronald _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
