diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2008-04-17 21:37:57 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2008-04-17 21:37:57 +0000 |
commit | 442969a8f155468176d79216e1f0623057036f9a (patch) | |
tree | 82a7156df3581a98d379a074c3a6b5c057af4b13 | |
parent | 2e48b85903b04117f9314b9ed69f0ac2d4d78356 (diff) |
add note about freed values
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@676 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | common/dict.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/dict.h b/common/dict.h index c34ecc2..10dd7b2 100644 --- a/common/dict.h +++ b/common/dict.h @@ -54,7 +54,9 @@ void *dict_get(DICT *dict,const char *key) /*void dict_del(DICT *dict,const char *key);*/ /* Remove the dictionary from memory. All allocated storage - for the dictionary and the keys is freed. */ + for the dictionary and the keys is freed. + Note that values are not freed. This is the responsibility + of the caller. */ void dict_free(DICT *dict); /* Function for looping over all dictionary keys and values. |