From: hniksic Date: Sat, 27 Aug 2005 19:09:42 +0000 (-0700) Subject: [svn] Doc fix. X-Git-Tag: v1.13~718 X-Git-Url: http://sjero.net/git/?p=wget;a=commitdiff_plain;h=65401399d7c5c3996aa51500ced73e6968af5596 [svn] Doc fix. --- diff --git a/src/utils.c b/src/utils.c index 94dc989e..597afff4 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1175,6 +1175,10 @@ void string_set_to_array (struct hash_table *ht, char **array) *array++ = iter.key; } +/* Free the string set. This frees both the storage allocated for + keys and the actual hash table. (hash_table_destroy would only + destroy the hash table.) */ + void string_set_free (struct hash_table *ht) { @@ -1184,7 +1188,7 @@ string_set_free (struct hash_table *ht) hash_table_destroy (ht); } -/* Utility function: simply call free() on all keys and values of HT. */ +/* Utility function: simply call xfree() on all keys and values of HT. */ void free_keys_and_values (struct hash_table *ht)