if config- group_names for config- group_count g_free config- group_na

1
2
3
4
5
6
7
- if( config->group_names )
- {
- for( i = 0; i < config->group_count; i++ )
- g_free( config->group_names[i] );
- g_free( config->group_names );
- }
+ g_free( config->group_names );