aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-08-19 12:39:10 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-08-19 12:39:10 -0700
commit4bf00c9f51214e63c3151b8eecbbd48e41088de0 (patch)
tree9167b504e2b3c351143cfd99bd7f976015ed7f13 /src
parent6cfc80edaf8ec1e46c9cbbc1f402a0a8a8259f16 (diff)
slight rewording of grpc_error ownership rules
Diffstat (limited to 'src')
-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: