mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Fix: Access correct object
This commit is contained in:
parent
52429c714f
commit
e24e524cb5
@ -395,7 +395,7 @@ reportxml_node_t * reportxml_node_parse_xmlnode(xmlNodePtr xmlnode)
|
|||||||
xmlNodePtr cur = xmlnode->xmlChildrenNode;
|
xmlNodePtr cur = xmlnode->xmlChildrenNode;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if (node->type == REPORTXML_NODE_TYPE_EXTENSION) {
|
if (nodedef->type == REPORTXML_NODE_TYPE_EXTENSION) {
|
||||||
if (reportxml_node_add_xml_child(node, cur) != 0) {
|
if (reportxml_node_add_xml_child(node, cur) != 0) {
|
||||||
refobject_unref(node);
|
refobject_unref(node);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user