[FFmpeg-devel] [PATCH] fix h264 memory leak with threads

Alexander Strange astrange
Tue Jun 16 10:55:39 CEST 2009


Don't know why I didn't notice this before, but thread_context and  
their rbsp_buffer weren't freed in free_tables().
valgrind shows a 175KB leak after the decoder is closed with 2  
threads, which this fixes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: H.264-Fix-memory-leaks-with-multithreading.patch
Type: text/x-diff
Size: 1109 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090616/bb48c395/attachment.patch>
-------------- next part --------------




More information about the ffmpeg-devel mailing list