mirror of
http://galexander.org/git/simplesshd.git
synced 2025-02-05 11:50:57 +00:00
m_free() the temps used for setting the environment
This commit is contained in:
parent
d28824b4ca
commit
b1147a3aef
@ -609,6 +609,8 @@ install_environment(void)
|
||||
n[name_len] = 0;
|
||||
v[val_len] = 0;
|
||||
setenv(n, v, /*overwrite=*/1); /* might fail *shrug* */
|
||||
m_free(n);
|
||||
m_free(v);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user