projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8778c2
)
.
author
Jim Meyering
<jim@meyering.net>
Wed, 3 Aug 1994 15:21:03 +0000
(15:21 +0000)
committer
Jim Meyering
<jim@meyering.net>
Wed, 3 Aug 1994 15:21:03 +0000
(15:21 +0000)
src/su.c
patch
|
blob
|
history
diff --git
a/src/su.c
b/src/su.c
index
a5abd95
..
2511d50
100644
(file)
--- 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);