diff options
author | Andreas Rheinhardt <[email protected]> | 2020-09-04 17:49:16 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2020-09-04 20:37:12 +0200 |
commit | 4f672889481e7b3dc03c04b02a86836e94104e63 (patch) | |
tree | 93f6252da891d7c31b3ad4bf988df08f372431d1 /libavfilter/vf_pullup.c | |
parent | 912785572a77dc97d749e64a359e92c7d378ff4a (diff) |
avcodec/bink: Fix memleak upon init failure
The init function first allocates an AVFrame and then some buffers; if
one of the buffers couldn't be allocated, the AVFrame leaks. Solve this
by setting the FF_CODEC_CAP_INIT_CLEANUP flag.
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavfilter/vf_pullup.c')
0 files changed, 0 insertions, 0 deletions