]> sjero.net Git - wget/commitdiff
[svn] Doc fix.
authorhniksic <devnull@localhost>
Sat, 27 Aug 2005 19:09:42 +0000 (12:09 -0700)
committerhniksic <devnull@localhost>
Sat, 27 Aug 2005 19:09:42 +0000 (12:09 -0700)
src/utils.c

index 94dc989eed8add3421d028e9f564fb5fccf77a18..597afff40b0795de9215a6d095871cdace48dfab 100644 (file)
@@ -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)