Prepare for upcoming POSIXed putenv() rewrite:

don't free memory after putenv()
This commit is contained in:
ache 2007-04-30 12:44:04 +00:00
parent 28a59d2af6
commit 4c04e48cf3

View File

@ -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! */
}
}
}