summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index a22524f29..1ddcb3b64 100644
--- a/main.c
+++ b/main.c
@@ -281,7 +281,7 @@ static void setup_system_prefs(void)
const char *env;
default_prefs.divelist_font = strdup(system_divelist_default_font);
- default_prefs.default_filename = strdup(system_default_filename());
+ default_prefs.default_filename = system_default_filename();
env = getenv("LC_MEASUREMENT");
if (!env)