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

Martin Storsjö martin
Mon Apr 5 10:22:07 CEST 2010


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.

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtpdec-aac-leak.patch
Type: text/x-diff
Size: 1873 bytes
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100405/d526550a/attachment.patch>

More information about the ffmpeg-devel mailing list