From: Jim Meyering Date: Wed, 3 Aug 1994 15:21:03 +0000 (+0000) Subject: . X-Git-Tag: v2.22-rc1~347^2~10^2~79 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e3feb4f48db8a22814fb20bd3821a0b33e3614e3;p=thirdparty%2Futil-linux.git . --- diff --git a/login-utils/su.c b/login-utils/su.c index a5abd95e36..2511d50360 100644 --- a/login-utils/su.c +++ b/login-utils/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);