diff options
Diffstat (limited to 'riscos/filetype.c')
-rw-r--r-- | riscos/filetype.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/riscos/filetype.c b/riscos/filetype.c index a0de46ecf..535c931e8 100644 --- a/riscos/filetype.c +++ b/riscos/filetype.c @@ -97,6 +97,7 @@ const char *fetch_filetype(const char *unix_path) if (objtype == osfile_IS_DIR) { sprintf(type_buf, "application/x-netsurf-directory"); + free(path); return (const char *)type_buf; } |