aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/security/credentials.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/security/credentials.c')
-rw-r--r--src/core/security/credentials.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/security/credentials.c b/src/core/security/credentials.c
index ef1f40633b..2674003962 100644
--- a/src/core/security/credentials.c
+++ b/src/core/security/credentials.c
@@ -88,6 +88,7 @@ void grpc_channel_credentials_unref(grpc_channel_credentials *creds) {
if (creds == NULL) return;
if (gpr_unref(&creds->refcount)) {
creds->vtable->destruct(creds);
+ grpc_call_credentials_unref(creds->call_creds);
gpr_free(creds);
}
}