static void FcSubstDestroy (FcSubst *s) { FcSubst *n; while (s) { n = s->next; if (s->test) FcTestDestroy (s->test); if (s->edit) FcEditDestroy (s->edit); free (s); s = n; } }
static void FcSubstDestroy (FcSubst *s) { FcSubst *n; while (s) { n = s->next; if (s->test) FcTestDestroy (s->test); if (s->edit) FcEditDestroy (s->edit); free (s); FcMemFree (FC_MEM_SUBST, sizeof (FcSubst)); s = n; } }