Fix getifaddrs leaking

This commit is contained in:
Benau 2018-07-11 13:49:01 +08:00
parent 908735b1b1
commit db8a92a2d6

View File

@ -427,6 +427,7 @@ void ServersManager::updateBroadcastAddresses()
addAllBroadcastAddresses(ta, u);
}
}
freeifaddrs(addresses);
#endif
} // updateBroadcastAddresses