A few assorted cleanups.
This commit is contained in:
@ -39,6 +39,8 @@
|
||||
|
||||
#include "../dpip/dpip.h"
|
||||
|
||||
using namespace std::literals::string_literals;
|
||||
|
||||
#define DPI_EXT (".dpi" EXEEXT)
|
||||
|
||||
#define QUEUE 5
|
||||
@ -52,10 +54,8 @@ char *SharedKey = NULL;
|
||||
*/
|
||||
void cleanup(void)
|
||||
{
|
||||
char *fname;
|
||||
fname = dStrconcat(dGethomedir(), "/", dotDILLO_DPID_COMM_KEYS, NULL);
|
||||
unlink(fname);
|
||||
dFree(fname);
|
||||
std::string fname = dGethomedir() + "/"s + dotDILLO_DPID_COMM_KEYS;
|
||||
unlink(fname.c_str());
|
||||
}
|
||||
|
||||
/*! Free memory used to describe
|
||||
|
Reference in New Issue
Block a user