Commit 614ff902 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix memleak.

(cherry picked from commit 8c60ce97)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 05cd9e9b
......@@ -179,6 +179,8 @@ int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
struct stat st;
if( stat( dir, &st ) == 0 )
{
free( user );
free( password );
closedir( p_dir );
return VLC_EGENERIC;
}
......
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