Links/RB_Free_Links [ Functions ]

FUNCTION

Deallocate all the memory used to store the links.

SYNOPSIS

void RB_Free_Links( void )

INPUTS

BUGS

Should use RB_Free_Link instead of doing everything by it self.

SOURCE

{
    struct RB_link     *cur_link;
    unsigned int        i;

    for ( i = 0; i < link_index_size; ++i )
    {
        cur_link = link_index[i];
        free( cur_link->object_name );
        free( cur_link->label_name );
        free( cur_link->file_name );
        free( cur_link );
    }
    free( link_index );
}