void FreeInternationalData( IntlData *handle ) { if( handle != NULL ) { _MemoryFree( handle->errors_text ); _MemoryFree( handle ); } }
void OPT_CLEAN_STRING // CLEAN UP STRINGS ( OPT_STRING **h ) // - list { OPT_STRING *s; while( (s = *h) != NULL ) { *h = s->next; _MemoryFree( s ); } }
void OPT_CLEAN_NUMBER // CLEAN UP NUMBERS ( OPT_NUMBER **h ) // - list { OPT_NUMBER *s; while( (s = *h) != NULL ) { *h = s->next; _MemoryFree( s ); } }
static void vstkFreeBlk( // FREE LIST OF BLOCKS VSTK_BLK *cur ) // - list to be freed { VSTK_BLK *lst; // - last block for( ; cur != NULL; ) { lst = cur; cur = cur->last; _MemoryFree( lst ); } }