[FFmpeg-devel] [PATCH] Fix memory leaks in the AAC RTP depacketization code

Martin Storsjö martin
Mon Apr 5 19:26:33 CEST 2010


On Mon, 5 Apr 2010, Ronald S. Bultje wrote:

> On Apr 5, 2010, at 4:22 AM, Martin Storsj? <martin at martin.st> wrote:
> > The code currently allocates a new buffer for AUHeaders for each  
> > packet it
> > receives, without freeing the previous one - this fixes the issue.  
> > It also
> > frees an av_strduped string of a few bytes.
> 
> (will check patch in +/- 2 hrs.)

Applied with the changes that were suggested and ok'd on irc.

// Martin



More information about the ffmpeg-devel mailing list