mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Do not free sudo_user.iolog_{file,path} in sudo_user_free().
They are not dynamically allocated.
This commit is contained in:
@@ -1681,8 +1681,6 @@ sudo_user_free(void)
|
||||
free(runas_privs);
|
||||
free(runas_limitprivs);
|
||||
#endif
|
||||
free(sudo_user.iolog_file);
|
||||
free(sudo_user.iolog_path);
|
||||
memset(&sudo_user, 0, sizeof(sudo_user));
|
||||
|
||||
debug_return;
|
||||
|
Reference in New Issue
Block a user