1 /* Copyright Massachusetts Institute of Technology 1985 */
10 * XDestroyAssocTable - Destroy (free the memory associated with)
13 XDestroyAssocTable(table
)
14 register XAssocTable
*table
;
17 register XAssoc
*bucket
;
18 register XAssoc
*Entry
, *entry_next
;
20 /* Free the buckets. */
21 for (i
= 0; i
< table
->size
; i
++) {
22 bucket
= &table
->buckets
[i
];
28 entry_next
= Entry
->next
;
33 /* Free the bucket array. */
34 free((char *)table
->buckets
);
40 /* arch-tag: a536bf02-8d63-45f2-8c1a-c7f9fd4da2cf
41 (do not change this comment) */