diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-19 04:28:47 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-27 07:20:59 +0100 |
commit | 74b97ea6034c75044c43b065df1fc07e5b2e4b84 (patch) | |
tree | 7dbdbc032230973efd7eab9ad0e89060e14a9cff /libavformat/webmdashenc.c | |
parent | 06d5472b3c5f226530a0d8377496e1e4838a8413 (diff) | |
download | ffmpeg-74b97ea6034c75044c43b065df1fc07e5b2e4b84.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>
(cherry picked from commit 5c91701dc7f46975f9fb714d30c70a81dc0ce90a)
Diffstat (limited to 'libavformat/webmdashenc.c')
0 files changed, 0 insertions, 0 deletions