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)