aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Discovery.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/upnp/Discovery.cxx')
-rw-r--r--src/db/upnp/Discovery.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db/upnp/Discovery.cxx b/src/db/upnp/Discovery.cxx
index b33dbd395..af52758db 100644
--- a/src/db/upnp/Discovery.cxx
+++ b/src/db/upnp/Discovery.cxx
@@ -75,6 +75,7 @@ UPnPDeviceDirectory::discoExplorer()
// Update or insert the device
ContentDirectoryDescriptor d(tsk->url, buf,
time(0), tsk->expires);
+ free(buf);
if (!d.device.ok) {
continue;
}