aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/README.wmem7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/README.wmem b/doc/README.wmem
index 7d04c6fffe..31ebf1bf11 100644
--- a/doc/README.wmem
+++ b/doc/README.wmem
@@ -133,9 +133,10 @@ appropriate wmem pool.
Also note that callback calling order is not defined, you cannot rely on a
certain callback being called before or after another.
-WARNING: Manually freeing memory with wmem_free will NOT trigger any callbacks.
- It is an error to call wmem_free on memory if you have a callback
- registered to deal with the contents of a that memory.
+WARNING: Manually freeing or moving memory (with wmem_free or wmem_realloc)
+ will NOT trigger any callbacks. It is an error to call either of
+ those functions on memory if you have a callback registered to deal
+ with the contents of that memory.
3. Usage for Producers