void FreeGroups(void) { while (foundgrps) { Bfree((char *)foundgrps->filename); grpfile_t * const fg = foundgrps->next; Bfree(foundgrps); foundgrps = fg; } FreeGameList(); }
void FreeGroups(void) { struct grpfile *fg; while (foundgrps) { fg = foundgrps->next; Bfree((char *)foundgrps->name); Bfree(foundgrps); foundgrps = fg; } FreeGameList(); }