diff options
-rw-r--r-- | riscos/download.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/riscos/download.c b/riscos/download.c index 804a66459..6cba17ef0 100644 --- a/riscos/download.c +++ b/riscos/download.c @@ -379,6 +379,8 @@ static struct gui_download_window *gui_download_window_create(download_context * snprintf(dw->path, RO_DOWNLOAD_MAX_PATH_LEN, "%s", filename); + free(filename); + err = utf8_to_local_encoding(dw->path, 0, &local_path); if (err != NSERROR_OK) { /* badenc should never happen */ |