Commit 8c60ce97 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix memleak.

parent ec01f1da
...@@ -179,6 +179,8 @@ int ParseDirectory( intf_thread_t *p_intf, char *psz_root, ...@@ -179,6 +179,8 @@ int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
struct stat st; struct stat st;
if( stat( dir, &st ) == 0 ) if( stat( dir, &st ) == 0 )
{ {
free( user );
free( password );
closedir( p_dir ); closedir( p_dir );
return VLC_EGENERIC; 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