mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/350/head
parent
0960da42f5
commit
ca8e5dedc7
1 changed files with 3 additions and 4 deletions
Loading…
Reference in new issue