summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/su.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/su.c b/src/su.c
index 2511d5036..6bee0cb59 100644
--- a/src/su.c
+++ b/src/su.c
@@ -317,10 +317,6 @@ main (argc, argv)
if (simulate_login && chdir (pw->pw_dir))
error (0, errno, "warning: cannot change directory to %s", pw->pw_dir);
- free (pw->pw_name);
- free (pw->pw_dir);
- free (pw->pw_shell);
-
run_shell (shell, command, additional_args);
}