2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 22:05:46 +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

@@ -119,9 +119,9 @@ sudo_stat_plugin(struct plugin_info *info, char *fullpath,
info->path = slpath;
status = sudo_stat_plugin(info, fullpath, pathsize, sb);
if (status == 0) {
efree((void *)sopath);
sudo_efree((void *)sopath);
} else {
efree(slpath);
sudo_efree(slpath);
info->path = sopath;
errno = serrno;
}
@@ -299,7 +299,7 @@ sudo_load_plugins(struct plugin_container *policy_plugin,
info->path = SUDOERS_PLUGIN;
/* info->options = NULL; */
rval = sudo_load_plugin(policy_plugin, io_plugins, info);
efree(info);
sudo_efree(info);
if (!rval)
goto done;
@@ -310,7 +310,7 @@ sudo_load_plugins(struct plugin_container *policy_plugin,
info->path = SUDOERS_PLUGIN;
/* info->options = NULL; */
rval = sudo_load_plugin(policy_plugin, io_plugins, info);
efree(info);
sudo_efree(info);
if (!rval)
goto done;
}