if( p_sys->url.psz_host == NULL || *p_sys->url.psz_host == '\0' )
{
msg_Err( p_access, "invalid host" );
+ vlc_UrlClean( &p_sys->proxy );
vlc_UrlClean( &p_sys->url );
free( p_sys );
return VLC_EGENERIC;
if( Describe( p_access, &psz_location ) )
{
+ vlc_UrlClean( &p_sys->proxy );
vlc_UrlClean( &p_sys->url );
free( p_sys );
return VLC_EGENERIC;
{
msg_Err( p_access, "cannot start stream" );
free( p_sys->p_header );
+ vlc_UrlClean( &p_sys->proxy );
vlc_UrlClean( &p_sys->url );
free( p_sys );
return VLC_EGENERIC;
access_sys_t *p_sys = p_access->p_sys;
Stop( p_access );
+
+ if( p_sys->p_header )
+ free( p_sys->p_header );
+
+ vlc_UrlClean( &p_sys->proxy );
+ vlc_UrlClean( &p_sys->url );
free( p_sys );
}
/* Read the asf header */
p_sys->i_header = 0;
+ if( p_sys->p_header )
+ free( p_sys->p_header );
p_sys->p_header = NULL;
for( ;; )
{