aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar David G. Quintas <dgq@google.com>2016-08-30 08:46:13 -0700
committerGravatar GitHub <noreply@github.com>2016-08-30 08:46:13 -0700
commit7684c74b3cb4dc0b9cc631410feeb2aff7a496b8 (patch)
treee5affe384db788350846b999b14a291f63a3929d /src/core/lib
parent99091704c11578bfca79d80869c480333058148b (diff)
parent4bf00c9f51214e63c3151b8eecbbd48e41088de0 (diff)
Merge pull request #7795 from dgquintas/errors_doc
slight rewording of grpc_error ownership rules
Diffstat (limited to 'src/core/lib')
-rw-r--r--src/core/lib/iomgr/error.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/error.h b/src/core/lib/iomgr/error.h
index bc7781250e..6c769accdb 100644
--- a/src/core/lib/iomgr/error.h
+++ b/src/core/lib/iomgr/error.h
@@ -47,7 +47,8 @@
/// if a grpc_error is passed to a grpc_closure callback function (functions
/// with the signature:
/// void (*f)(grpc_exec_ctx *exec_ctx, void *arg, grpc_error *error))
-/// then those functions do not automatically own a ref to error
+/// then those functions do not own a ref to error (but are free to manually
+/// take a reference).
/// if a grpc_error is passed to *ANY OTHER FUNCTION* then that function takes
/// ownership of the error
/// Errors have: