diff options
Diffstat (limited to 'macos.c')
-rw-r--r-- | macos.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ const char *subsurface_icon_name() const char *subsurface_default_filename() { if (default_filename) { - return default_filename; + return strdup(default_filename); } else { const char *home, *user; char *buffer; |