aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-15 02:13:56 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-15 19:25:26 +0200
commita8ebb5632018adad733f89fa4efe74d7e92155ac (patch)
tree4d5108276a4c3295acd228b75929701e0dc5111a /tests/ref/fate
parent0bb5cc0ee959bdc2ff439a149343bc1a53998f31 (diff)
downloadffmpeg-a8ebb5632018adad733f89fa4efe74d7e92155ac.tar.gz
avcodec/magicyuvenc: 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 'tests/ref/fate')
0 files changed, 0 insertions, 0 deletions