diff options
| author | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-20 16:56:49 +0100 | 
|---|---|---|
| committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2015-12-20 16:56:49 +0100 | 
| commit | 5f2350251bddaa3be7fe2fbc510cf253e7fc971f (patch) | |
| tree | cdd017466d7c85416961530877b8cc1518d00112 /src | |
| parent | c4f5bbfab513cd5291fbec7f0781be18c9aeb4f4 (diff) | |
Fix memory leak.
Diffstat (limited to 'src')
| -rw-r--r-- | src/configfile.cc | 2 | 
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;  | 
