1
1

Don't free the envar that gets putenv'd as that messes up the environ

This commit was SVN r24660.
Этот коммит содержится в:
Ralph Castain 2011-04-29 08:50:29 +00:00
родитель 2634f6401a
Коммит c78531ce8a

Просмотреть файл

@ -168,7 +168,7 @@ static int rte_init(void)
}
asprintf(&envar, "%s=%s", cs_env, string_key);
putenv(envar);
free(envar);
/* cannot free the envar as that messes of our environ */
free(cs_env);
free(string_key);