[FFmpeg-devel] [PATCH] memory leaks in libavformat/matroskadec.c

Aurelien Jacobs aurel
Sat Dec 29 19:38:13 CET 2007


On Sat, 29 Dec 2007 15:27:32 +0100
Gabriel Fort? <gforte at wyplay.com> wrote:

> Hi,
> 
> here are two patches which fix memory leaks in matroskadec.c when seeking,
> awaiting review.

First patch OK => Applied.
Second patch fixed in a slightly different way (and there was no
mem leak here, only some old packets which were played after the
seek).

> I'm not exactly sure why the two av_free(origdata) were
> missing in matroska_parse_block(). is there a good reason ?

I think there was no good reason.

Thanks.

Aurel




More information about the ffmpeg-devel mailing list