]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
talloc: Fix documentation
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 14 Nov 2023 22:23:03 +0000 (11:23 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 8 Dec 2023 02:28:33 +0000 (02:28 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/talloc/talloc.c

index 14e9e389f5464d52c3c0ce9216045df55a6d4f25..3a93a82e456c5616ffea6c9d9dc20facd1072152 100644 (file)
@@ -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.
 */