aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/security
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-08-24 07:51:35 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-08-24 07:51:35 -0700
commiteb95b11bc1ce2a9ef6fd6fee728c7af43cf5536e (patch)
treeaeaaa46444323c6fb326d7a7d50b6d67fd328f0b /src/core/security
parentec9acabb4f197c8da4de4b7d5109c38611c23be0 (diff)
Turn off refcount debugging
Diffstat (limited to 'src/core/security')
-rw-r--r--src/core/security/secure_endpoint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/security/secure_endpoint.c b/src/core/security/secure_endpoint.c
index 4206c39318..b696e384fc 100644
--- a/src/core/security/secure_endpoint.c
+++ b/src/core/security/secure_endpoint.c
@@ -80,7 +80,8 @@ static void destroy(secure_endpoint *secure_ep) {
gpr_free(ep);
}
-#define GRPC_SECURE_ENDPOINT_REFCOUNT_DEBUG
+/*#define GRPC_SECURE_ENDPOINT_REFCOUNT_DEBUG*/
+#ifdef GRPC_SECURE_ENDPOINT_REFCOUNT_DEBUG
#define SECURE_ENDPOINT_UNREF(ep, reason) \
secure_endpoint_unref((ep), (reason), __FILE__, __LINE__)
#define SECURE_ENDPOINT_REF(ep, reason) \
@@ -100,7 +101,6 @@ static void secure_endpoint_ref(secure_endpoint *ep, const char *reason,
ep, reason, ep->ref.count, ep->ref.count + 1);
gpr_ref(&ep->ref);
}
-#ifdef GRPC_SECURE_ENDPOINT_REFCOUNT_DEBUG
#else
#define SECURE_ENDPOINT_UNREF(ep, reason) secure_endpoint_unref((ep))
#define SECURE_ENDPOINT_REF(ep, reason) secure_endpoint_ref((ep))