Skip to content

Commit e5696ae

Browse files
authored
Update README.md
1 parent dcf30be commit e5696ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ I recommend using these, unless you have very specific needs.
5757
hashmap_init(&map, hashmap_hash_string, strcmp);
5858
```
5959

60-
Note that any memory associated with map values is not managed by the map, so you may need to free this before calling `hashmap_cleanup()`. Keys are often stored in the same structure as the value, but it is possible to have the map manage key memory allocation internally, by calling `hashmap_set_key_alloc_funcs()`.
60+
Note that memory associated with map keys and values is not managed by the map, so you may need to free this before calling `hashmap_cleanup()`. Keys are often stored in the same structure as the value, but it is possible to have the map manage key memory allocation internally, by calling `hashmap_set_key_alloc_funcs()`.
6161

6262

6363
### Value insertion and access

0 commit comments

Comments
 (0)