Isolate a few more string leakage cases.

This commit is contained in:
2025-09-27 18:18:36 -04:00
parent c8cfc0f038
commit 8356c017e1
4 changed files with 34 additions and 9 deletions

View File

@ -54,7 +54,7 @@ char *SharedKey = NULL;
*/
void cleanup(void)
{
std::string fname = dGethomedir() + "/"s + dotDILLO_DPID_COMM_KEYS;
std::string fname = dGethomedir_string().value() + "/"s + dotDILLO_DPID_COMM_KEYS;
unlink(fname.c_str());
}