1 /* Copyright Massachusetts Institute of Technology 1985 */
10 * XDestroyAssocTable - Destroy (free the memory associated with)
13 XDestroyAssocTable(register XAssocTable
*table
)
16 register XAssoc
*bucket
;
17 register XAssoc
*Entry
, *entry_next
;
19 /* Free the buckets. */
20 for (i
= 0; i
< table
->size
; i
++) {
21 bucket
= &table
->buckets
[i
];
27 entry_next
= Entry
->next
;
32 /* Free the bucket array. */
33 free((char *)table
->buckets
);