diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-07 04:58:56 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-27 07:20:56 +0100 |
commit | ad0132fab81916cdc60caf893ec805111d12ed9b (patch) | |
tree | 03ea744c4f39c9e814d9865802c50ec018c5faa1 /libavfilter/vf_transpose.c | |
parent | 2617956abd5ac8339cb2f3fb4ab7b64f83743ebd (diff) | |
download | ffmpeg-ad0132fab81916cdc60caf893ec805111d12ed9b.tar.gz |
avfilter/af_afir: Fix leak of AVFilterChannelLayout in case of error
If an error happens between the allocation of an AVFilterChannelLayout
and its usage (which involves attaching said object to a more permanent
object), the channel layout array leaks. This can simply be fixed by
making sure that nothing is between the allocation and the
aforementioned usage.
Fixes Coverity issue #1250334.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
(cherry picked from commit 3a0f080ffa5185f45850f15e5e7b8cf997337bf7)
Diffstat (limited to 'libavfilter/vf_transpose.c')
0 files changed, 0 insertions, 0 deletions