Beispiel #1
0
void FreeGroups(void)
{
    while (foundgrps)
    {
        Bfree((char *)foundgrps->filename);
        grpfile_t * const fg = foundgrps->next;
        Bfree(foundgrps);
        foundgrps = fg;
    }

    FreeGameList();
}
Beispiel #2
0
void FreeGroups(void)
{
    struct grpfile *fg;

    while (foundgrps)
    {
        fg = foundgrps->next;
        Bfree((char *)foundgrps->name);
        Bfree(foundgrps);
        foundgrps = fg;
    }

    FreeGameList();
}