diff options
Diffstat (limited to 'talloc_guide.txt')
-rw-r--r-- | talloc_guide.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/talloc_guide.txt b/talloc_guide.txt index 7d727c5cb2..745426730c 100644 --- a/talloc_guide.txt +++ b/talloc_guide.txt @@ -125,7 +125,9 @@ After creating a reference you can free it in one of the following ways: - you can talloc_free() a parent of the original pointer. That will - destroy the reference and make the pointer a child of "context". + destroy the reference and make the pointer a child of the + "context" argument from the most recently called + talloc_reference() on the pointer. - you can talloc_free() the pointer itself. That will destroy the most recently established reference to the pointer and leave the |