avformat/dashdec: fix pointer being freed was not allocated
authorvectronic <hello.vectronic@gmail.com>
Mon, 16 Sep 2019 10:44:27 +0000 (11:44 +0100)
committerSteven Liu <lq@chinaffmpeg.org>
Mon, 23 Sep 2019 02:06:08 +0000 (10:06 +0800)
commit598962cd3a68e30662cfbd5e053eef85d2ee3a8a
tree49f08b926cb2e8303ee508264e31e4710c63c805
parent4ba45a95df1b3b38fe69e7e462d1c7c564ac395f
avformat/dashdec: fix pointer being freed was not allocated

prevent attempt to call xmlFree if val was not allocated
fixes: 8135

Reviewed-by: Steven Liu <lq@onvideo.cn>
Signed-off-by: vectronic <hello.vectronic@gmail.com>
libavformat/dashdec.c