1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-02-14 22:22:59 +02:00
FFmpeg/libavfilter
Andreas Rheinhardt 3a0f080ffa 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>
2020-08-20 00:24:03 +02:00
..
2020-02-14 09:59:27 +01:00
2020-05-23 15:50:20 +02:00
2019-10-01 14:55:43 +02:00
2020-04-30 12:18:36 +02:00
2019-12-10 16:09:14 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-07-08 15:23:43 +02:00
2020-02-14 21:49:47 +01:00
2019-10-23 12:37:46 +02:00
2019-09-30 16:39:39 +02:00
2020-02-04 18:28:04 +01:00
2020-07-08 15:23:43 +02:00
2019-07-28 22:34:33 +01:00
2020-02-29 22:31:01 +01:00
2019-10-01 14:55:43 +02:00
2020-05-30 18:04:14 +02:00
2020-03-17 22:46:36 +01:00
2019-09-26 08:10:31 +08:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2019-10-18 21:57:20 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00
2020-02-04 18:28:04 +01:00
2019-10-20 18:06:26 +02:00
2020-05-23 15:52:27 +02:00
2020-03-17 22:46:36 +01:00
2020-04-18 12:34:49 +02:00
2020-03-17 22:46:36 +01:00
2020-03-17 22:46:36 +01:00