aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov_esds.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>2021-02-27 07:20:59 +0100
commit74b97ea6034c75044c43b065df1fc07e5b2e4b84 (patch)
tree7dbdbc032230973efd7eab9ad0e89060e14a9cff /libavformat/mov_esds.c
parent06d5472b3c5f226530a0d8377496e1e4838a8413 (diff)
downloadffmpeg-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/mov_esds.c')
0 files changed, 0 insertions, 0 deletions