Skip to content
Snippets Groups Projects
Commit d47063ea authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Fix memleak (oups)

parent 4ab1c771
No related branches found
No related tags found
No related merge requests found
......@@ -444,6 +444,7 @@ static int open_file (access_t *p_access, const char *psz_name)
fseek( p_sys->fd, 0, SEEK_SET );
#else
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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment