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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user