182 |
|
|
183 |
} |
} |
184 |
|
|
185 |
|
|
186 |
|
void gc_mail_server(MailServer_T *s) { |
187 |
|
|
188 |
|
if(!s&&!*s) return; |
189 |
|
|
190 |
|
if((*s)->next) { |
191 |
|
gc_mail_server(&(*s)->next); |
192 |
|
} |
193 |
|
|
194 |
|
FREE((*s)->host); |
195 |
|
FREE(*s); |
196 |
|
|
197 |
|
} |
198 |
|
|
199 |
|
|
200 |
/* ----------------------------------------------------------------- Private */ |
/* ----------------------------------------------------------------- Private */ |
201 |
|
|
202 |
|
|
414 |
|
|
415 |
} |
} |
416 |
|
|
417 |
|
|
418 |
static void _gcgrc(Generic_T *g) { |
static void _gcgrc(Generic_T *g) { |
419 |
|
|
420 |
|
ASSERT(g); |
421 |
|
|
422 |
if((*g)->next) { |
if((*g)->next) { |
423 |
_gcgrc(&(*g)->next); |
_gcgrc(&(*g)->next); |
424 |
} |
} |
434 |
|
|
435 |
} |
} |
436 |
|
|
437 |
|
|
438 |
static void _gcath(Auth_T *c) { |
static void _gcath(Auth_T *c) { |
439 |
|
|
440 |
|
ASSERT(c); |
441 |
|
|
442 |
if((*c)->next) { |
if((*c)->next) { |
443 |
_gcath(&(*c)->next); |
_gcath(&(*c)->next); |
444 |
} |
} |