src/ui-prefs.c
void textui_prefs_free(void)
{
	int i;

	mem_free(monster_x_attr);
	mem_free(monster_x_char);
	mem_free(kind_x_attr);
	mem_free(kind_x_char);
	for (i = 0; i < LIGHTING_MAX; i++) {
		mem_free(feat_x_attr[i]);
		mem_free(feat_x_char[i]);
	}
	for (i = 0; i < LIGHTING_MAX; i++) {
		mem_free(trap_x_attr[i]);
		mem_free(trap_x_char[i]);
	}
	mem_free(flavor_x_attr);
	mem_free(flavor_x_char);
}
/**
 * Free the glyph arrays for monsters, objects, traps, flavors and terrain
 */
Free the glyph arrays for monsters, objects, traps, flavors and terrain
Free the glyph arrays for monsters objects traps flavors and terrain
void textui_prefs_free(void)
{
	int i;
	mem_free(monster_x_attr);
	mem_free(monster_x_char);
	mem_free(kind_x_attr);
	mem_free(kind_x_char);
	for (i = 0; i < LIGHTING_MAX; i++) {
		mem_free(feat_x_attr[i]);
		mem_free(feat_x_char[i]);
	}
	for (i = 0; i < LIGHTING_MAX; i++) {
		mem_free(trap_x_attr[i]);
		mem_free(trap_x_char[i]);
	}
	mem_free(flavor_x_attr);
	mem_free(flavor_x_char);
}
void textui_prefs_free ( void ) { int i ; mem_free ( monster_x_attr ) ; mem_free ( monster_x_char ) ; mem_free ( kind_x_attr ) ; mem_free ( kind_x_char ) ; for ( i = 0 ; i < LIGHTING_MAX ; i ++ ) { mem_free ( feat_x_attr [ i ] ) ; mem_free ( feat_x_char [ i ] ) ; } for ( i = 0 ; i < LIGHTING_MAX ; i ++ ) { mem_free ( trap_x_attr [ i ] ) ; mem_free ( trap_x_char [ i ] ) ; } mem_free ( flavor_x_attr ) ; mem_free ( flavor_x_char ) ; }
Free the glyph arrays for monsters, objects, traps, flavors and terrain
Free the glyph arrays for monsters objects traps flavors and terrain