mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-07-25 11:58:38 +00:00
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>
This commit is contained in:
@@ -1203,6 +1203,7 @@ static int parse_programinformation(AVFormatContext *s, xmlNodePtr node)
|
||||
}
|
||||
node = xmlNextElementSibling(node);
|
||||
xmlFree(val);
|
||||
val = NULL;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user