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

visual: fix use of uninitialized value (introduced in 68dd76f1)

parent 8cf7b429
......@@ -105,10 +105,7 @@ int spectrum_Run(visual_effect_t * p_effect, vlc_object_t *p_aout,
{
p_effect->p_data = p_data = malloc( sizeof( spectrum_data ) );
if( !p_data )
{
free( p_s16_buff );
return -1;
}
p_data->peaks = calloc( 80, sizeof(int) );
p_data->prev_heights = calloc( 80, sizeof(int) );
......
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