aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/rgb2rgb_template.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-19 04:28:47 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-09-21 04:31:57 +0200
commit5c91701dc7f46975f9fb714d30c70a81dc0ce90a (patch)
tree14fd5da541b24db8ec66c54d457638764d4a6bb0 /libswscale/rgb2rgb_template.c
parent5d63f154efb0a59b614dc8fff049086f9355a358 (diff)
downloadffmpeg-5c91701dc7f46975f9fb714d30c70a81dc0ce90a.tar.gz
avformat/dashdec: Fix leak of representation on error
If parsing a representation fails, it is not added to the list of representations and is therefore not freed in dash_close(); it therefore leaked in most error paths in parse_manifest_representation() (some error paths had (incomplete) code for freeing). This commit fixes freeing the representation in this case. Reviewed-by: Steven Liu <lq@chinaffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libswscale/rgb2rgb_template.c')
0 files changed, 0 insertions, 0 deletions