aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Device.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/upnp/Device.cxx')
-rw-r--r--src/db/upnp/Device.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/upnp/Device.cxx b/src/db/upnp/Device.cxx
index dd1a8f43c..2dab1b4c5 100644
--- a/src/db/upnp/Device.cxx
+++ b/src/db/upnp/Device.cxx
@@ -45,6 +45,8 @@ public:
protected:
virtual void StartElement(const XML_Char *name, const XML_Char **) {
+ value = nullptr;
+
switch (name[0]) {
case 'c':
if (strcmp(name, "controlURL") == 0)