]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
talloc: fix doxygen of talloc_move
authorUri Simchoni <uri@samba.org>
Thu, 9 Mar 2017 12:40:54 +0000 (14:40 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 10 Mar 2017 06:30:40 +0000 (07:30 +0100)
talloc_move cannot fail.

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Mar 10 07:30:40 CET 2017 on sn-devel-144

lib/talloc/talloc.h

index 227f745fab1ef67bda689bd216ff3d2e86af8375..618430a50ab59a511846d42c11fecfe0ad04e2f7 100644 (file)
@@ -407,10 +407,11 @@ const char *talloc_set_name(const void *ptr, const char *fmt, ...) PRINTF_ATTRIB
  *
  * @param[in]  new_ctx  The new parent context.
  *
- * @param[in]  pptr     Pointer to the talloc chunk to move.
+ * @param[in]  pptr     Pointer to a pointer to the talloc chunk to move.
+ *
+ * @return              The pointer to the talloc chunk that moved.
+ *                      It does not have any failure modes.
  *
- * @return              The pointer of the talloc chunk it has been moved to,
- *                      NULL on error.
  */
 void *talloc_move(const void *new_ctx, void **pptr);
 #else