[FFmpeg-devel] [PATCH] avcodec/dnxhdenc: stop leaking memory when initalization fails

Michael Niedermayer michael at niedermayer.cc
Fri Aug 31 14:53:19 EEST 2018


On Thu, Aug 30, 2018 at 11:37:45AM +0200, Paul B Mahol wrote:
> Fixes #6593.
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavcodec/dnxhdenc.c | 18 +++++++++---------
>  libavcodec/dnxhdenc.h |  2 ++
>  2 files changed, 11 insertions(+), 9 deletions(-)

LGTM

thx

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

Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
then the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180831/194ef17c/attachment.sig>


More information about the ffmpeg-devel mailing list