Lines Matching refs:g
54 struct re_guts *g; in regfree() local
60 g = preg->re_g; in regfree()
61 if (g == NULL || g->magic != MAGIC2) /* oops again */ in regfree()
64 g->magic = 0; /* mark it invalid */ in regfree()
66 if (g->strip != NULL) in regfree()
67 free((char *)g->strip); in regfree()
68 if (g->sets != NULL) { in regfree()
69 for (i = 0; i < g->ncsets; i++) { in regfree()
70 free(g->sets[i].ranges); in regfree()
71 free(g->sets[i].wides); in regfree()
72 free(g->sets[i].types); in regfree()
74 free((char *)g->sets); in regfree()
76 if (g->must != NULL) in regfree()
77 free(g->must); in regfree()
78 if (g->charjump != NULL) in regfree()
79 free(&g->charjump[CHAR_MIN]); in regfree()
80 if (g->matchjump != NULL) in regfree()
81 free(g->matchjump); in regfree()
82 free((char *)g); in regfree()