aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/db/upnp/ixmlwrap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/upnp/ixmlwrap.cxx b/src/db/upnp/ixmlwrap.cxx
index 247c36d5d..2bc8658a3 100644
--- a/src/db/upnp/ixmlwrap.cxx
+++ b/src/db/upnp/ixmlwrap.cxx
@@ -34,10 +34,10 @@ getFirstElementValue(IXML_Document *doc, const char *name)
ret = ixmlNode_getNodeValue(dnode);
}
}
- }
- if(nodes)
ixmlNodeList_free(nodes);
+ }
+
return ret;
}