Commit d47063ea authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Fix memleak (oups)

parent 4ab1c771
......@@ -444,6 +444,7 @@ static int open_file (access_t *p_access, const char *psz_name)
fseek( p_sys->fd, 0, SEEK_SET );
int fd = utf8_open (path, O_RDONLY | O_NONBLOCK /* O_LARGEFILE*/, 0666);
free (path);
if (fd == -1)
msg_Err (p_access, "cannot open file %s (%s)", psz_name,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment