/*****************************************************************************
* visual.c : Visualisation system
*****************************************************************************
- * Copyright (C) 2002-2006 the VideoLAN team
+ * Copyright (C) 2002-2009 the VideoLAN team
* $Id$
*
* Authors: Clément Stenac <zorglub@via.ecp.fr>
strlen( pf_effect_run[i].psz_name ) ) )
{
p_effect->pf_run = pf_effect_run[i].pf_run;
- p_effect->psz_name = strdup( pf_effect_run[i].psz_name );
+ p_effect->psz_name = pf_effect_run[i].psz_name;
break;
}
}
if( ( psz_eoa = strchr( psz_parser, '}') ) == NULL )
{
msg_Err( p_filter, "unable to parse effect list. Aborting");
- free( p_effect->psz_name );
free( p_effect );
break;
}
msg_Err( p_filter, "no suitable vout module" );
for( int i = 0; i < p_sys->i_effect; i++ )
{
- free( p_sys->effect[i]->psz_name );
free( p_sys->effect[i]->psz_args );
free( p_sys->effect[i] );
}
free( ( ( spectrum_data * )p_effect->p_data )->prev_heights );
}
free( p_effect->p_data );
- free( p_effect->psz_name );
free( p_effect->psz_args );
free( p_effect );
#undef p_effect