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

Vincent Penné vpenne
Wed Jan 2 14:34:05 CET 2008


 > 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).

It was actually a real memory leak, because at the end of this function 
(matroska_read_seek), num_packets was set to zero, in effect emptying 
the packet queue, without deallocating it though.

It could easily leak dozens of megabytes after an intensive use of seeking.

----
This message contains confidential information and may contain information that is legally privileged.  If you have received this message by mistake, please immediately notify us and delete the original message. Thank you.  

Ce message contient des informations confidentielles.  S'il vous est parvenu par erreur, merci de bien vouloir nous en aviser par retour, de n'en faire aucun usage et de n'en garder aucune copie.
----




More information about the ffmpeg-devel mailing list