version 1.11 | | version 1.12 |
---|
| | |
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: init.c,v 1.11 2001/04/09 06:59:46 mwedel Exp $"; | | * "$Id: init.c,v 1.12 2001/05/09 06:58:12 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
******************************************************************************/ | | ******************************************************************************/ |
| | |
/* Free's all the memory that ericserver allocates. */ | | /* Free's all the memory that ericserver allocates. */ |
void free_all_ericserver() | | void free_all_newserver() |
{ | | { |
int num; | | int num, i; |
| | |
#ifdef ESRV_DEBUG | | LOG(llevDebug,"Freeing all new client/server information.\n"); |
LOG(llevDebug,"Freeing all ericserver information.\n"); | | |
#endif | | |
for(num=0;num<MAXFACENUM;num++) { | | for(num=0;num<MAXFACENUM;num++) { |
if (faces[num].name) { | | if (faces[num].name) { |
free(faces[num].name); | | free(faces[num].name); |
free(faces[num].data); | | for (i=0; i<FACE_TYPES; i++) |
| | free(faces[num].data[i]); |
} | | } |
} | | } |
free(init_sockets); | | free(init_sockets); |