From: Joseph Sutton Date: Tue, 14 Nov 2023 22:23:03 +0000 (+1300) Subject: talloc: Fix documentation X-Git-Tag: talloc-2.4.2~413 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0691a112f6d55f657077b9b4ebba716264058d98;p=thirdparty%2Fsamba.git talloc: Fix documentation Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/lib/talloc/talloc.c b/lib/talloc/talloc.c index 14e9e389f54..3a93a82e456 100644 --- a/lib/talloc/talloc.c +++ b/lib/talloc/talloc.c @@ -1253,7 +1253,7 @@ static inline size_t _talloc_total_limit_size(const void *ptr, struct talloc_memlimit *new_limit); /* - move a lump of memory from one talloc context to another return the + move a lump of memory from one talloc context to another returning the ptr on success, or NULL if it could not be transferred. passing NULL as ptr will always return NULL with no side effects. */ @@ -1335,7 +1335,7 @@ static void *_talloc_steal_internal(const void *new_ctx, const void *ptr) } /* - move a lump of memory from one talloc context to another return the + move a lump of memory from one talloc context to another returning the ptr on success, or NULL if it could not be transferred. passing NULL as ptr will always return NULL with no side effects. */