]> git.sesse.net Git - ffmpeg/commit
avformat/dashdec: Fix leak of representation languages
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sat, 19 Sep 2020 05:01:30 +0000 (07:01 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 21 Sep 2020 02:32:03 +0000 (04:32 +0200)
commitf1c3c173c9408085d7b26f3bdd264b426bca314a
tree0f9c7fa45dd8acfe8627617d59b93dbe32b5ff72
parente7aea1fe7304352c4b5359159700ab4957b10449
avformat/dashdec: Fix leak of representation languages

These languages are normally freed after having been added as metadata
to their respective AVStreams. Yet if one never reaches said point, they
leak. This can happen as a result of an error when reading the header or
as a result of refreshing the manifests.

Reviewed-by: Steven Liu <lq@chinaffmpeg.org>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/dashdec.c