Fixing some memory leaks/uninitialized values

This commit is contained in:
Mark Berrill
2015-08-31 11:30:37 -04:00
parent 7601ee2488
commit 704f391d0f
7 changed files with 1092 additions and 999 deletions

View File

@@ -163,6 +163,7 @@ static std::string get_executable()
buf[len] = '\0';
exe = std::string(buf);
}
delete [] buf;
#endif
} catch (...) {}
return exe;