check if index_map was intialized (regression)

This commit is contained in:
niels
2015-06-04 00:53:15 +02:00
parent 9d13f04c94
commit f7797b5f61

View File

@@ -351,12 +351,12 @@ void vj_event_vevo_dump(void)
void vj_event_vevo_free(void)
{
unsigned int i;
if( index_map_ ) {
for( i = 0 ; i < MAX_INDEX ; i ++ )
if( index_map_[i] ) vpf( index_map_[i] );
free(index_map_);
}
}
void vj_init_vevo_events(void)
{