diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2007-04-30 12:44:04 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2007-04-30 12:44:04 +0000 |
| commit | 2efaac818fb265c1bf28bada95bf68f20432f9c3 (patch) | |
| tree | f0f08cbdedf7f6d30e5714005b5a1f2febbaa0e4 /usr.bin/login/login.c | |
| parent | 6b3ecf71ea27dd0c7a9bfa82015a11eec78a7fad (diff) | |
Notes
Diffstat (limited to 'usr.bin/login/login.c')
| -rw-r--r-- | usr.bin/login/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/login/login.c b/usr.bin/login/login.c index 7827ea1da7d2..d52ab4767de4 100644 --- a/usr.bin/login/login.c +++ b/usr.bin/login/login.c @@ -746,7 +746,7 @@ export_pam_environment() if (pam_env != NULL) { for (pp = pam_env; *pp != NULL; pp++) { (void)export(*pp); - free(*pp); + /* Don't free putenv() memory! */ } } } |
