[Ffmpeg-devel] [PATCH] leak in mpegts.c

Måns Rullgård mru
Sat Apr 1 20:38:53 CEST 2006

Andy Brown <abrown at daqtron.com> writes:

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

Fixed slightly differently.

M?ns Rullg?rd
mru at inprovide.com

More information about the ffmpeg-devel mailing list