]> git.sesse.net Git - ffmpeg/commit
avcodec/flacenc: Fix memleak upon init error
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 29 Nov 2020 21:28:37 +0000 (22:28 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Fri, 2 Apr 2021 16:55:27 +0000 (18:55 +0200)
commit56bd071e5487fcf516d942bbc84d7a77b0bdf9b6
tree5b88791f981380390c62a6aa63b3e5a73f716643
parentd789d72d30d8cb6c0a9b5b1140589da1eae44e1e
avcodec/flacenc: Fix memleak upon init error

An AVMD5 struct would leak if an error happened after its allocation.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/flacenc.c