Example #1
0
void FreeInternationalData(
    IntlData *handle )
{
    if( handle != NULL ) {
        _MemoryFree( handle->errors_text );
        _MemoryFree( handle );
    }
}
Example #2
0
void OPT_CLEAN_STRING           // CLEAN UP STRINGS
    ( OPT_STRING **h )          // - list
{
    OPT_STRING *s;

    while( (s = *h) != NULL ) {
        *h = s->next;
        _MemoryFree( s );
    }
}
Example #3
0
void OPT_CLEAN_NUMBER           // CLEAN UP NUMBERS
    ( OPT_NUMBER **h )          // - list
{
    OPT_NUMBER *s;

    while( (s = *h) != NULL ) {
        *h = s->next;
        _MemoryFree( s );
    }
}
Example #4
0
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 );
    }
}