diff options
Diffstat (limited to 'src/common.c')
-rw-r--r-- | src/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c index 327b3586..8dbf1619 100644 --- a/src/common.c +++ b/src/common.c @@ -653,7 +653,7 @@ unique_filename_from_url(const char* url, const char* path) // Default to './' as path when none has been provided. if (path == NULL) { - realpath = "./"; + realpath = strdup("./"); } else { realpath = get_expanded_path(path); } |