[FFmpeg-devel] [PATCH] Found a memory leak in dvbsubdec.c
Wim Vander Schelden
lists at fixnum.org
Tue Jan 21 14:52:06 CET 2014
When running ffmpeg with valgrind, I discovered a leak in dvbsubdec.c. It
would sometimes decrease the number of rectangles in an AVSubtitle after
allocating the rectangles, without freeing the additional rectangles. The
attached patch fixes this by calculating and allocating the correct amount
of rectangles ahead of time.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1321 bytes
Desc: not available
More information about the ffmpeg-devel