svn commit: samba r7556 - in branches/SAMBA_4_0/source/lib/talloc: .
derrell at samba.org
derrell at samba.org
Tue Jun 14 01:04:21 GMT 2005
Author: derrell
Date: 2005-06-14 01:04:20 +0000 (Tue, 14 Jun 2005)
New Revision: 7556
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7556
Log:
fixed typo in documentation
Modified:
branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt
Changeset:
Modified: branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt
===================================================================
--- branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt 2005-06-13 23:56:09 UTC (rev 7555)
+++ branches/SAMBA_4_0/source/lib/talloc/talloc_guide.txt 2005-06-14 01:04:20 UTC (rev 7556)
@@ -284,8 +284,8 @@
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
More information about the samba-cvs
mailing list