pset5/speller/dictionary.c
bool unload(void)
{

    // free the linked lists
    for (uint32_t z = 0; z < HASH_SIZE; z++)
        if (ht[z] != NULL)
            clearList(ht[z]);

    // clear the table index
    free(ht);
    
    return true;
}
/**
 * Unloads dictionary from memory. Returns true if successful else false.
 */
Unloads dictionary from memory. Returns true if successful else false.
Unloads dictionary from memory . Returns true if successful else false .
bool unload(void)
{
    for (uint32_t z = 0; z < HASH_SIZE; z++)
        if (ht[z] != NULL)
            clearList(ht[z]);
    free(ht);
    return true;
}
bool unload ( void ) { for ( uint32_t z = 0 ; z < HASH_SIZE ; z ++ ) if ( ht [ z ] != NULL ) clearList ( ht [ z ] ) ; free ( ht ) ; return true ; }
Unloads dictionary from memory.
Unloads dictionary from memory .
// free the linked lists // clear the table index