summaryrefslogtreecommitdiff
path: root/src/su.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-08-03 15:21:03 +0000
committerJim Meyering <jim@meyering.net>1994-08-03 15:21:03 +0000
commitb946e9ee2ebbdde9f787910f16ff6dcf70e28c38 (patch)
tree3153a12c4bac000e1c986edf82b25937f44a0311 /src/su.c
parenta8778c2665e4b82959ffe4155f41236a508c09db (diff)
downloadcoreutils-b946e9ee2ebbdde9f787910f16ff6dcf70e28c38.tar.xz
.
Diffstat (limited to 'src/su.c')
-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);