Commit f3b4ddee authored by Max Kellermann's avatar Max Kellermann

db/upnp/Discovery: free the response body

Memory leak.
parent 758b504c
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment