32 struct _Color_Rule_ *
rule, *next;
34 for (rule = cp->rules; rule; rule = next) {
45 if (cp->lookup.active) {
50 cp->lookup.active = 0;
58 if (cp->fp_lookup.active) {
59 G_free(cp->fp_lookup.vals);
60 G_free(cp->fp_lookup.rules);
61 cp->fp_lookup.active = 0;
62 cp->fp_lookup.nalloc = 0;
void G_free(void *buf)
Free allocated memory.
int G__color_free_rules(struct _Color_Info_ *cp)
int G__color_reset(struct Colors *colors)
int G__color_free_fp_lookup(struct _Color_Info_ *cp)
int G_free_colors(struct Colors *colors)
free color structure memory
int G__color_free_lookup(struct _Color_Info_ *cp)