db/upnp/Discovery: free the response body
Memory leak.
This commit is contained in:
parent
758b504cf3
commit
f3b4ddee6c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user