diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-02-09 19:40:34 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-05-20 10:51:29 +0200 |
commit | 15ccdea8b381e4e120fd5a98b98b6fde5371097f (patch) | |
tree | 21c6aaeddd2d0a0ac7fae8f0ca62a27c22dbd17f /libavformat/filmstripenc.c | |
parent | 126cd3821da47971405fd39d9efd162b16b28651 (diff) | |
download | ffmpeg-15ccdea8b381e4e120fd5a98b98b6fde5371097f.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>
(cherry picked from commit 212077eda46c4c3eb644774d2b1ccbeb3e322fff)
Diffstat (limited to 'libavformat/filmstripenc.c')
0 files changed, 0 insertions, 0 deletions