From 4a139f81719a0105c93258b985de31a71a4766dc Mon Sep 17 00:00:00 2001 From: Derrell Lipman Date: Tue, 14 Jun 2005 01:04:20 +0000 Subject: r7556: fixed typo in documentation (This used to be commit 77fc2036a0db7bde9e90f090dbcd75ea70b3e0a0) --- source4/lib/talloc/talloc_guide.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/talloc/talloc_guide.txt') 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 -- cgit