[FFmpeg-devel] [PATCH] fix h264 memory leak with threads
Tue Jun 16 23:50:59 CEST 2009
On Jun 16, 2009, at 3:21 PM, Michael Niedermayer wrote:
> On Tue, Jun 16, 2009 at 04:55:39AM -0400, Alexander Strange wrote:
>> Don't know why I didn't notice this before, but thread_context and
>> rbsp_buffer weren't freed in free_tables().
>> valgrind shows a 175KB leak after the decoder is closed with 2
>> which this fixes.
>> h264.c | 5 +++--
>> 1 file changed, 3 insertions(+), 2 deletions(-)
>> 3cba7f8dbbf0ca8a90ad5caff08c04ac33f41eea H.264-Fix-memory-leaks-
>> From 2fe32809fec5c8c4bc198c040d35b3630d926579 Mon Sep 17 00:00:00
>> From: Alexander Strange <astrange at ithinksw.com>
>> Date: Tue, 16 Jun 2009 04:49:25 -0400
>> Subject: [PATCH] H.264: Fix memory leaks with multithreading.
>> The threads' contexts and rbsp_buffers were not freed at the end
>> of decoding.
More information about the ffmpeg-devel