Mercurial > hg > xemacs-beta
diff src/hash.c @ 1726:a8d8f419b459
[xemacs-hg @ 2003-09-30 15:26:34 by james]
Add type information to xfree to avoid alias creation.
author | james |
---|---|
date | Tue, 30 Sep 2003 15:27:01 +0000 |
parents | f3437b56874d |
children | de9952d2ed18 |
line wrap: on
line diff
--- a/src/hash.c Mon Sep 29 21:53:04 2003 +0000 +++ b/src/hash.c Tue Sep 30 15:27:01 2003 +0000 @@ -163,8 +163,8 @@ void free_hash_table (struct hash_table *hash_table) { - xfree (hash_table->harray); - xfree (hash_table); + xfree (hash_table->harray, hentry *); + xfree (hash_table, struct hash_table *); } struct hash_table* @@ -207,7 +207,7 @@ rehash (old_harray, hash_table, old_size); } - xfree (old_harray); + xfree (old_harray, hentry *); } void