mirror of
https://github.com/aria2/aria2.git
synced 2026-04-13 08:18:46 +00:00
Fixed memory leak
This commit is contained in:
@@ -165,6 +165,9 @@ ares_addr_node* parseAsyncDNSServers(const std::string& serversOpt)
|
||||
node = 0;
|
||||
}
|
||||
}
|
||||
if(node) {
|
||||
delete node;
|
||||
}
|
||||
return root.next;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user