summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2016-04-14 12:52:19 +0200
committerSumit Bose <sbose@redhat.com>2016-10-19 13:22:46 +0200
commita513de6f4b25cf5c009dabfe63b264864ae6e172 (patch)
tree519582f2d661ce5a6841427683c2d282887cd221
parent7899b14e918b7841fe6329b65817db3082273f26 (diff)
downloadsssd-a513de6f4b25cf5c009dabfe63b264864ae6e172.tar.gz
sssd-a513de6f4b25cf5c009dabfe63b264864ae6e172.tar.xz
sssd-a513de6f4b25cf5c009dabfe63b264864ae6e172.zip
IDMAP: improve API documentation of free_func
-rw-r--r--src/lib/idmap/sss_idmap.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/idmap/sss_idmap.h b/src/lib/idmap/sss_idmap.h
index 20fdb6169..72a322697 100644
--- a/src/lib/idmap/sss_idmap.h
+++ b/src/lib/idmap/sss_idmap.h
@@ -135,10 +135,11 @@ struct dom_sid;
* @brief Initialize idmap context
*
* @param[in] alloc_func Function to allocate memory for the context, if
- * NULL malloc() id used
+ * NULL malloc() is used
* @param[in] alloc_pvt Private data for allocation routine
- * @param[in] free_func Function to free the memory the context, if
- * NULL free() id used
+ * @param[in] free_func Function to free the memory allocated by alloc_func, if
+ * NULL free() is used, free_func() must handle NULL as
+ * input gracefully
* @param[out] ctx idmap context
*
* @return