summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/configfile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configfile.cc b/src/configfile.cc
index 6b0d14f..7a063d8 100644
--- a/src/configfile.cc
+++ b/src/configfile.cc
@@ -65,7 +65,7 @@ static std::string configPath()
configpath = szPath;
}
#else
- std::string configpath = strdup(getenv("HOME"));
+ std::string configpath = getenv("HOME");
#endif
configpath += SEP;
configpath += CONFIGDIRNAME;