diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-24 22:21:51 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-08-26 23:52:57 +0200 |
commit | ca8e5dedc7fabae3df76ea11d9952070cbb19620 (patch) | |
tree | 3c09cfb26eb66f2c2d69370c04dcac6e4f09a66c /libavfilter/opencl/pad.cl | |
parent | 0960da42f5414a24497c75787ff4be318ae41421 (diff) | |
download | ffmpeg-ca8e5dedc7fabae3df76ea11d9952070cbb19620.tar.gz |
avfilter/af_headphone: Fix leak of channel layouts list on error
In case the multichannel HRIR mode was enabled, an error could happen
between allocating a channel layouts list and attaching it to its target
destination. If an error happened, the list would leak. This is fixed by
attaching the list to its target directly after its allocation.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavfilter/opencl/pad.cl')
0 files changed, 0 insertions, 0 deletions