git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c420c5a
)
r7556: fixed typo in documentation
author
Derrell Lipman
<derrell@samba.org>
Tue, 14 Jun 2005 01:04:20 +0000
(
01:04
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:18:08 +0000
(13:18 -0500)
(This used to be commit
77fc2036a0db7bde9e90f090dbcd75ea70b3e0a0
)
source4/lib/talloc/talloc_guide.txt
patch
|
blob
|
history
diff --git
a/source4/lib/talloc/talloc_guide.txt
b/source4/lib/talloc/talloc_guide.txt
index c23ac77cad72ab9265ee5af5bf5edbc1e6800380..d30538bf9f0867a3a368e1992cd23fe9a5aeeb21 100644
(file)
--- 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
-i
s i
gnored.
+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