* \param config start of array of items
* \param confsize number of items in the array
*/
-void config_Free (module_config_t *config, size_t confsize)
+void config_Free (module_config_t *tab, size_t confsize)
{
for (size_t j = 0; j < confsize; j++)
{
- module_config_t *p_item = config + j;
+ module_config_t *p_item = &tab[j];
free( p_item->psz_type );
free( p_item->psz_name );
free (p_item->list_text);
}
- free (config);
+ free (tab);
}
#undef config_ResetAll