1
0
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:
Greg Alexander 2018-05-16 16:30:28 -04:00
parent d28824b4ca
commit b1147a3aef

View File

@ -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);
}
}
}