refactoring

This commit is contained in:
Patrick Brosi 2019-05-13 02:27:12 +02:00
parent 67308d02e9
commit 9d19e344d3

View file

@ -334,6 +334,8 @@ std::vector<std::string> getCfgPaths(const Config& cfg) {
}
}
if (buf) free(buf);
// install prefix global configuration path, if available
{
auto path = std::string(INSTALL_PREFIX) +
@ -361,8 +363,6 @@ std::vector<std::string> getCfgPaths(const Config& cfg) {
}
}
if (buf) free(buf);
// CWD
{
char cwd[PATH_MAX];