Fix memory leak with getting interfaces

There was no free after we were finished with the interface pointer
This commit is contained in:
Timothy Hutchins
2023-05-19 19:51:04 -05:00
parent ff9438a3ed
commit d387a44159
@@ -191,6 +191,7 @@ std::vector<std::string> GetIpv4Addresses() {
break;
}
}
freeifaddrs(interface);
return result;
}