[Ffmpeg-devel] [PATCH] leak in mpegts.c
Thu Mar 9 02:40:04 CET 2006
I couldn't find where the services that are populated during
mpegts_read_header() where ever cleaned. This results in a leak since services
are dynamically allocated. I verified that ts->services were still allocated at
the call to mgts_read_close() which frees the MpegTSContext. The attached patch
adds a function to free any allocated services. I added a call to this function
in the mgts_read_close() call.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 966 bytes
Desc: not available
More information about the ffmpeg-devel