refactoring
This commit is contained in:
parent
67308d02e9
commit
9d19e344d3
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue