summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/su.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/su.c b/src/su.c
index a5abd95e3..2511d5036 100644
--- a/src/su.c
+++ b/src/su.c
@@ -309,8 +309,6 @@ main (argc, argv)
}
if (shell == 0)
{
- /* FIXME: Using malloc (through xstrdup) to allocate this space
- is a minor memory leak. Consider using alloca instead. */
shell = xstrdup (pw->pw_shell);
}
modify_environment (pw, shell);