summaryrefslogtreecommitdiff
path: root/source4/lib/talloc
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-06-14 01:04:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:08 -0500
commit4a139f81719a0105c93258b985de31a71a4766dc (patch)
tree3612e05a17d7ee73327b1e67b1bf0b783ee80053 /source4/lib/talloc
parentc420c5a4c4bc2185f123058027f8328ade0d0a4e (diff)
downloadsamba-4a139f81719a0105c93258b985de31a71a4766dc.tar.gz
samba-4a139f81719a0105c93258b985de31a71a4766dc.tar.bz2
samba-4a139f81719a0105c93258b985de31a71a4766dc.zip
r7556: fixed typo in documentation
(This used to be commit 77fc2036a0db7bde9e90f090dbcd75ea70b3e0a0)
Diffstat (limited to 'source4/lib/talloc')
-rw-r--r--source4/lib/talloc/talloc_guide.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/talloc/talloc_guide.txt b/source4/lib/talloc/talloc_guide.txt
index c23ac77cad..d30538bf9f 100644
--- a/source4/lib/talloc/talloc_guide.txt
+++ b/source4/lib/talloc/talloc_guide.txt
@@ -284,8 +284,8 @@ talloc_realloc() has the following equivalences:
talloc_realloc(context, NULL, type, N) ==> talloc_array(context, type, N);
talloc_realloc(context, ptr, type, 0) ==> talloc_free(ptr);
-The "context" argument is only used if "ptr" is not NULL, otherwise it
-is ignored.
+The "context" argument is only used if "ptr" is NULL, otherwise it is
+ignored.
talloc_realloc() returns the new pointer, or NULL on failure. The call
will fail either due to a lack of memory, or because the pointer has