2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

efree -> sudo_efree for consistency

This commit is contained in:
Todd C. Miller
2014-07-10 15:35:04 -06:00
parent 1996777cd4
commit 36a5767e3e
52 changed files with 262 additions and 262 deletions

View File

@@ -81,7 +81,7 @@ set_interfaces(const char *ai)
inet_pton(AF_INET6, mask, &ifp->netmask.ip6) != 1)
#endif
{
efree(ifp);
sudo_efree(ifp);
continue;
}
} else {
@@ -89,13 +89,13 @@ set_interfaces(const char *ai)
ifp->family = AF_INET;
if (inet_pton(AF_INET, addr, &ifp->addr.ip4) != 1 ||
inet_pton(AF_INET, mask, &ifp->netmask.ip4) != 1) {
efree(ifp);
sudo_efree(ifp);
continue;
}
}
SLIST_INSERT_HEAD(&interfaces, ifp, entries);
}
efree(addrinfo);
sudo_efree(addrinfo);
debug_return;
}
@@ -117,6 +117,6 @@ dump_interfaces(const char *ai)
for (cp = strtok(addrinfo, " \t"); cp != NULL; cp = strtok(NULL, " \t"))
sudo_printf(SUDO_CONV_INFO_MSG, "\t%s\n", cp);
efree(addrinfo);
sudo_efree(addrinfo);
debug_return;
}