]> git.sesse.net Git - ffmpeg/commit
avformat/dashdec: Don't allocate and leak strings that are never used
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 29 Mar 2020 00:32:34 +0000 (01:32 +0100)
committerSteven Liu <lq@chinaffmpeg.org>
Sun, 29 Mar 2020 00:45:16 +0000 (08:45 +0800)
commit3c138e5ceb487490f88015b1694ce34c1393736c
treeb911cb001aa8bdd35fcbe1338484f80f9b570713
parent3cb099e9ab35a77103acbb3476565db59d8d81fb
avformat/dashdec: Don't allocate and leak strings that are never used

Since commit e134c203 strdups of several elements of a manifest are kept
in the DASHContext; but said commit completely forgot to free these
strings again (with xmlFree()). Given that these strings are never used
at all, this commit closes this leak by reverting said commit.

This reverts commit e134c20374ee3cbc6d04885d306b02c9871683a2.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/dashdec.c