diff options
author | Julien Boeuf <jboeuf@google.com> | 2015-10-10 00:21:05 -0700 |
---|---|---|
committer | Julien Boeuf <jboeuf@google.com> | 2015-10-10 00:21:05 -0700 |
commit | 26bf71ce37d39bb3dd2c1ae01fa837db8a082799 (patch) | |
tree | 1bea5ce7c93d131487182c3c523ffeb28eed2431 /src/core | |
parent | 4e02e84062d81137496d00e6c5f895966aead92d (diff) |
Fixing mem leak and compilation error in tsan.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/security/credentials.c | 1 |
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); } } |