diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-15 02:35:27 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-15 19:25:26 +0200 |
commit | b78031cf1670c176e97f62ad6a4865d3a44c1507 (patch) | |
tree | 098f291f7885166d5b58eb2dd5721821ed133569 /LICENSE.md | |
parent | d8fc69bd6a20394adf42406bf80bd06b4c8d7384 (diff) | |
download | ffmpeg-b78031cf1670c176e97f62ad6a4865d3a44c1507.tar.gz |
avcodec/mlpenc: Fix memleak upon init failure
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>
Diffstat (limited to 'LICENSE.md')
0 files changed, 0 insertions, 0 deletions