diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-19 04:28:47 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-21 04:31:57 +0200 |
commit | 5c91701dc7f46975f9fb714d30c70a81dc0ce90a (patch) | |
tree | 14fd5da541b24db8ec66c54d457638764d4a6bb0 /COPYING.GPLv2 | |
parent | 5d63f154efb0a59b614dc8fff049086f9355a358 (diff) | |
download | ffmpeg-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 'COPYING.GPLv2')
0 files changed, 0 insertions, 0 deletions