1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Fix: Access correct object

This commit is contained in:
Philipp Schafft 2018-06-27 10:47:55 +00:00
parent 52429c714f
commit e24e524cb5

View File

@ -395,7 +395,7 @@ reportxml_node_t * reportxml_node_parse_xmlnode(xmlNodePtr xmlnode)
xmlNodePtr cur = xmlnode->xmlChildrenNode;
do {
if (node->type == REPORTXML_NODE_TYPE_EXTENSION) {
if (nodedef->type == REPORTXML_NODE_TYPE_EXTENSION) {
if (reportxml_node_add_xml_child(node, cur) != 0) {
refobject_unref(node);
return NULL;