Commit f74112d6 authored by Rémi Duraffort's avatar Rémi Duraffort

FIx memleak.

parent e4e08275
......@@ -192,8 +192,10 @@ static int Open( vlc_object_t * p_this )
if( p_aout->output.p_sys->p_file != stdout )
fclose( p_aout->output.p_sys->p_file );
free( p_aout->output.p_sys );
free( psz_format );
return VLC_EGENERIC;
}
free( psz_format );
p_aout->output.output.i_format = format_int[i];
if ( AOUT_FMT_NON_LINEAR( &p_aout->output.output ) )
......
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