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