1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Fix: Fixed check for root node in reportxml

This commit is contained in:
Marvin Scholz 2020-04-19 03:58:31 +02:00
parent 0c3da2df86
commit b93ac5a94e

View File

@ -1343,7 +1343,7 @@ reportxml_t * reportxml_database_build_report(reportxml_database_t *db
}
root = reportxml_get_root_node(ret);
if (!ret) {
if (!root) {
refobject_unref(definition);
refobject_unref(ret);
ICECAST_LOG_ERROR("Can not get root node from report. BAD.");