Commit 1d906a23 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix memleak in audio equalizer.

parent 95898134
...@@ -338,8 +338,10 @@ static int EqzInit( aout_filter_t *p_filter, int i_rate ) ...@@ -338,8 +338,10 @@ static int EqzInit( aout_filter_t *p_filter, int i_rate )
} }
} }
var_CreateGetString( p_aout,"equalizer-bands" ); char *psz_tmp = var_CreateGetString( p_aout,"equalizer-bands" );
var_CreateGetString( p_aout, "equalizer-preset" ); free( psz_tmp );
psz_tmp = var_CreateGetString( p_aout, "equalizer-preset" );
free( psz_tmp );
p_sys->b_2eqz = var_CreateGetBool( p_aout, "equalizer-2pass" ); p_sys->b_2eqz = var_CreateGetBool( p_aout, "equalizer-2pass" );
......
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