mirror of https://github.com/FFmpeg/FFmpeg.git
If an error happens during init after an allocation has succeeded, the already allocated data leaked up until now. Fix this by setting the FF_CODEC_CAP_INIT_CLEANUP flag. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/351/head
parent
d8fc69bd6a
commit
b78031cf16
1 changed files with 2 additions and 0 deletions
Loading…
Reference in new issue