db/upnp/Discovery: fix memory leak
This commit is contained in:
@@ -77,6 +77,7 @@ UPnPDeviceDirectory::discoExplorer()
|
||||
time(0), tsk->expires);
|
||||
free(buf);
|
||||
if (!d.device.ok) {
|
||||
delete tsk;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user