Commit 6a50afb6 authored by Tristan Matthews's avatar Tristan Matthews

smb: fix use after free (cid #1348119)

parent 06444907
......@@ -252,8 +252,8 @@ static int Open( vlc_object_t *p_this )
{
msg_Err( p_access, "open failed for '%s' (%s)",
p_access->psz_location, vlc_strerror_c(errno) );
free( p_sys );
vlc_UrlClean( &p_sys->url );
free( p_sys );
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