aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-13 02:45:38 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-17 00:09:08 +0200
commit64a64d47c0afd2a0517375345fe7df61abfc89c0 (patch)
tree1edc39e5baaf2a601ce8666d4f4d1b513de6ebaa /tests/fate
parent96061c5a4f690c3ab49e4458701bb013fd3dd57f (diff)
downloadffmpeg-64a64d47c0afd2a0517375345fe7df61abfc89c0.tar.gz
avcodec/svq3: Fix memleaks upon allocation error
Commit b2361cfb94738298a6c4037cc348fe5015efb841e made all of the error paths in svq3_decode_init() call svq3_decode_end(); yet several new error paths that were added later (in merges from Libav) returned directly without cleaning up properly. This commit fixes the resulting potential memleaks by setting the FF_CODEC_CAP_INIT_CLEANUP flag. This also allows to simplify freeing by returning directly. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tests/fate')
0 files changed, 0 insertions, 0 deletions