diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -742,7 +742,7 @@ done: char *base_name(const char *in_file) { char *p; - char *file = copy(in_file); + char *file = strdup(in_file); for(p=file+strlen(file); p>file && *p != '.'; p--) ; if (*p == '.') |