Fixing mem leak and compilation error in tsan.
This commit is contained in:
parent
4e02e84062
commit
26bf71ce37
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,7 +54,6 @@ static const char test_google_iam_authorization_token[] = "blahblahblhahb";
|
|||
static const char test_google_iam_authority_selector[] = "respectmyauthoritah";
|
||||
static const char test_oauth2_bearer_token[] =
|
||||
"Bearer blaaslkdjfaslkdfasdsfasf";
|
||||
static const char test_root_cert[] = "I am the root!";
|
||||
|
||||
/* This JSON key was generated with the GCE console and revoked immediately.
|
||||
The identifiers have been changed as well.
|
||||
|
|
|
|||
Loading…
Reference in New Issue