[FFmpeg-devel] [PATCH] libavformat/matroskaenc.c: fix small memory leaks on error

Michael Niedermayer michael at niedermayer.cc
Wed Aug 19 13:17:11 CEST 2015


On Wed, Aug 19, 2015 at 01:06:56AM -0700, Neil Birkbeck wrote:
> Fixing small leaks that can occur when mkv_write_tracks fails in mkv_write_header
> (e.g., if video track has unknown codec). Also changing mkv_write_seekhead to take
> the MatroskaMuxContext to avoid having dangling pointers.
> 
> Signed-off-by: Neil Birkbeck <neil.birkbeck at gmail.com>
> ---
>  libavformat/matroskaenc.c | 67 +++++++++++++++++++++++++++++++----------------
>  1 file changed, 44 insertions(+), 23 deletions(-)

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150819/a34974c0/attachment.sig>


More information about the ffmpeg-devel mailing list