aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-mobile-main.cpp')
-rw-r--r--subsurface-mobile-main.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp
index a354aa429..b7259c44a 100644
--- a/subsurface-mobile-main.cpp
+++ b/subsurface-mobile-main.cpp
@@ -40,8 +40,6 @@ int main(int argc, char **argv)
}
git_libgit2_init();
setup_system_prefs();
- free((void*)prefs.default_filename);
- prefs.default_filename = NULL;
if (uiLanguage(0).contains("-US"))
default_prefs.units = IMPERIAL_units;
prefs = default_prefs;