Merge pull request #4326 from ctiller/creds-test-fix

Fix memory leak
pull/4313/merge
jboeuf 9 years ago
commit 6a18f0ce93
  1. 1
      test/core/security/credentials_test.c

@ -1032,6 +1032,7 @@ static void test_get_well_known_google_credentials_file_path(void) {
GPR_ASSERT(path == NULL);
#endif /* GPR_POSIX_ENV || GPR_LINUX_ENV */
gpr_setenv("HOME", old_home);
gpr_free(old_home);
#else /* GPR_POSIX_FILE */
char *path = grpc_get_well_known_google_credentials_file_path();
GPR_ASSERT(path != NULL);

Loading…
Cancel
Save