diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-02-09 19:40:34 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2020-02-11 00:03:44 +0100 |
commit | 212077eda46c4c3eb644774d2b1ccbeb3e322fff (patch) | |
tree | fed31d82ce680a68a250c67fe167ab1baa15e986 /libavcodec/dca_core_bsf.c | |
parent | 6a67d518d60b61ae2bd98c3948894a7be9955e8c (diff) | |
download | ffmpeg-212077eda46c4c3eb644774d2b1ccbeb3e322fff.tar.gz |
avfilter/vf_dedot: Fix leak of AVFrame if making it writable fails
Even in this scenario, the frame still contains references to data that
won't be freed if the frame isn't unreferenced. And the AVFrame itself
will leak, too.
Fixes Coverity issue #1441422.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/dca_core_bsf.c')
0 files changed, 0 insertions, 0 deletions