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
);
39 /* arch-tag: a536bf02-8d63-45f2-8c1a-c7f9fd4da2cf
40 (do not change this comment) */